I am trying to do the following with no success (ORACLE 9i, through SQLNavigator4):
FUNCTION GET_LIST RETURN VARCHAR2 IS
BEGIN
return '''GLOBAL_ID1'',''GLOBAL_ID2''';
END GET_LIST;
then I have a SQL query, which I type right in SQL Navigator, that does the following:
select * form my_table where id in (my_package.get_list())
if my function returns only one value, the query works, the moment I return a comma-delimited string, it stops working. How can I fix it?