help in Dynamic SQL

help in Dynamic SQL

 

  



Hi

I want to get the values of one column from a table but dont know the name of
column at the time of creation of procedute where i want the output.
I have to use Dynamic SQL, but the problem is, the output of that query is more
than one records, so how can i get the required data by using dynamic SQL.

Detail
Table is Month
There are 4 columns(A1,A2,A3,A4)
Query is << select p from month >>
and pass this p from the parameter of procedure.
So i want to get the output of that query....

Plz help me out..

Regards
Tarun Bansal

----------------------------------------------------------------------
This mail sent through Toaster-Horde (http://qmailtoaster.clikka.com/)

Oracle LazyDBA home page