[Migrated content. Thread originally posted on 12 July 2011]
In my programs I am unable to create more than 1 cursor to be used at a time.Is there a way to create a SQL View from within the program? Use the view in a SELECT statment then delete the view from the database when I am finished with it?
The view is needed to speed up processing. It will include a SUM(invoice_amt) as SUM_AMT GROUP BY INVOICE_NO. Then I would query the view to get all WHERE SUM_AMT <> 0.
Ideas anyone?
