Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pl/Sql Function Body Returning Sql Query Problem

441000Apr 15 2005 — edited Jun 20 2008
Why is this code:

DECLARE
q VARCHAR2(32767); -- query
BEGIN
q := someschema.somepackage.someprocedure;
RETURN q;
END;

Which is attributed to be:

SQL Query (Pl/Sql Function Body Returning Sql Query).

Is Giving me this error:

report error:
ORA-01403: no data found

'someprocedure' Returns a valid SQL Statement in a VARCHAR2 String.

Any ideas?

Regards,

Greg.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2008
Added on Apr 15 2005
17 comments
7,487 views