Creating a cursor

Creating a cursor

 

  

Is it possible to create a cursor within a stored procedure or
function?

I don't want to declare the cursor becuase the table I do a select on,
does not exist until I create it later in my stored procedure.
If this is possible what is the syntax to create it.

Thanks

Oracle LazyDBA home page