Ok, if you want to pass a list of strings, you have to escape all strings:
call test( '''US'',''GE''')or you pass 'US,GE' and add the quotes within your SP using SQL or simply use oReplace:
'''' || OREPLACE('US,GR',',',''',''') ||''''
Depending on your definition of oReplace (resulting datatype) you may have to use:
'''' || CAST(OREPLACE('US,GR',',',''',''') AS VARCHAR(10000)) ||''''
Dieter
↧