PL/SQL (MOSC)

MOSC Banner

Input sql query and output result set in table types

edited Aug 6, 2018 5:02AM in PL/SQL (MOSC) 11 commentsAnswered

Hi Guru's,

My requirement is i need to write a procedure which accepts input a SQL query and output will the result set of the query. Output columns will be static.

example input query is

select lookup_type,

                      lookup_code,

                       meaning     ,

                       description

                       from fnd_lookup_values where rownum<10

I'm pretty new to plsql and i'm unable to achieve this. Any help will be appreciated.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center