摘要:
我建了一个包,包里一个存储过程一个函数,都是以SCOTT这个示例下的EMP表为例的,然后再使用匿名块对其进行调用并返回需要的结果。包里有另外多一个返回结果为数组类型的有一些问题,我们后面再继续讨论包的内容如下:create or replace package pkg_test1astype myrctype is ref cursor;procedure get_emp(i_deptno emp.deptno%type,p_rc out myrctype);function fun_emp(i_deptno emp.deptno%type) return myrctype;type empi 阅读全文