Pass array parameter from C# to Oracle for use in select where in statement -


try parse array parameter oracle use in select in statement:

c#:

string[] arr = new string { "aaa", "bbb" }; 

oracle:

type str_table table of varchar2(20); procedure sp_test ( p_arr in str_table ) begin select *   table   field in (select column_value                    table(p_arr)) end; 

its not work. error cant access table not initialized...


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -