Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Dynamic SQL and Cursors
Hi,
I am having a few problems trying to execute dynamically generated SQL in an Oracle (version 9i if it is relevant) function. The simplified version of the function is as follows:
The error message that I am recieveing is "PLS-00487: Invalid reference to variable 'CUR'" which relates to this line: DBMS_OUTPUT.PUT_LINE (cur.UserID);
Any help with where I am going wrong here would be greatly appreciated.
Thanks in advance.
Jamie
Received on Thu Aug 21 2003 - 06:13:29 CDT