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);