Skip to Main Content

SQL & PL/SQL

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!

how to pass select query as parameter to function

1024977Oct 28 2014 — edited Oct 30 2014

Hi Everyone,

                  I am trying to to pass select query as a parameter to function, but I am getting 'Missing expression' error.

Can anybody help me out .

e.g. select function_name(select column_name from table_name) from dual;

      Query which is passed as parameter returns single value when executed separatly.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2014
Added on Oct 28 2014
6 comments
5,082 views