create or replace procedure getData(myCursor out sys_refcursor)
as
begin
open myCursor for 'select * from emp';
exception
when others then
dbms_output.PUT_LINE(sqlcode||','||sqlerrm);
end getData;
解决方案 »
- 关于ORACLE 游标和数组使用
- oracle数据库里关于字符集问题
- exited knalfgetscnfilter 是怎么回事
- System.Data.OracleClient 需有 Oracle 用戶端軟體版本 8.1.7 或以上版本
- Oracle RAC运行cluvfy时,检查"系统体系结构"失败,是怎么回事?
- 请问DATEADD(hh,DATEDIFF(hh,0,dateadd(hh,7-datepart(hh,getdate()),getdate())),0))也就定位到当天的早上7点,在oracle中怎么表达?
- 求救!!!分区表重建索引出错
- 中秋节,散分外送GMAIL邮箱,先到先得.:)
- 急!!!如何用触发器记录用户执行动作???
- 请求支援: 如何用c#连接远程oracle数据库?
- 恢复数据库提示错误:imp-00002:failed to open
- php通过oci8连接oracle问题
declare
aaa sys_refcursor;
begin
getData(aaa);
end;
/