Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OPEN cursor FOR SELECT... Question
Hello there,
I have a question concerning testing a select that is used in opening a cursor.
If I have the following: OPEN c_return FOR SELECT CompanyName, AccountNum FROM AccountsTable WHERE AccountNum = term; can I use the SQL%... attributes (specifically, ROWCOUNT and NOTFOUND) and/or catch the exception NO_DATA_FOUND for the selectstatement?
Thank you,
Daniel Cunningham
dcunning_at_umdstu.umd.edu
Received on Sun Nov 09 1997 - 00:00:00 CST
![]() |
![]() |