比如:
create or replace type type_test
(
id varchar(20),
num number(10),
cur cursor
);但是我这样定义是有错误的,报这个错误:
PLS-00201:identifier 'CURSOR' must be declared,如果我想在其中包含一个游标应该怎么做?应该如何定义这个type?
create or replace type type_test
(
id varchar(20),
num number(10),
cur cursor
);但是我这样定义是有错误的,报这个错误:
PLS-00201:identifier 'CURSOR' must be declared,如果我想在其中包含一个游标应该怎么做?应该如何定义这个type?
再声明一个二维数组table of 用这个代替游标。
有没有更好的方法啊?
你直接用table of代替 varray() of