PL/SQL (MOSC)

MOSC Banner

dynamic query into my own type variable

edited May 18, 2016 5:09AM in PL/SQL (MOSC) 7 commentsAnswered

Hi Masters,

I'm programming a function that retorns my own type. This tpe is defined as 20 varchar2(1000) fields.

I'm making a dynamic query that can return different number of columns and I want to put the result of this query into a variable defined as my type just in order to return it in the function. I can't use the "bulk collect into" syntax because it not run in this case.

Please, can you help me in this issue?

Thanks in advance!

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