尝试将数组参数解析为oracle,以便在select语句中使用它:
c#中:
string[] arr = new string { "aaa", "bbb" };
的Oracle :
type str_table is table of varchar2(20);
procedure sp_test ( p_arr in str_table )
is
begin
select *
from table
where field in (select column_value
from table(p_arr))
end;
它不起作用。错误是无法访问表未初始化...