1
以下代码给出了“PL/SQL:ORA-00907:缺少右括号”。 为什么?相交两个嵌套数组
select count(*)
into v_cnt
from (table(v_A) intersect table(v_B));
虽然
select count(*)
into v_cnt
from table(v_A);
编译没有问题。 V_A的类型是T_A创建人:
create or replace type t_A is table of varchar2(1 byte);