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!

List of values based on 'PL/SQL Function Body returning SQL Query'

marian_manApr 5 2017 — edited Apr 5 2017

Hi,

I would need to create a 'list of values' for 'select list' based on PL/SQL

but I don't quite get how should I write the 'PL/SQL Function Body returning SQL Query' ?

for example sql query

select ename as d,

       empno as r

  from emp

should be rewritten as something like

declare [variable]

select into [variable]

return [variable]

?

This post has been answered by Pierre Yotti on Apr 5 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2017
Added on Apr 5 2017
2 comments
4,275 views