I will give You two slices of code from the SQL script I'm currently working with, but they will suffice. Firstly, I am declaring a variable:
FUNCTION Run
( i_PlafId IN INTEGER
)
RETURN INTEGER
IS
l_tables_excl VARCHAR2(256) := 'TABLE_1,TABLE_2';
Later I would like to use it in some place, like this:
AND cos.table_name NOT IN l_tables_excl
Which would be the exact representation of:
AND cos.table_name NOT IN ('TABLE_1', 'TABLE_2')
There is no way of experimenting, cause a run of this Oracle package takes about 2 days...
Thanks in advance!