View previous topic :: View next topic
|
Author |
Message |
xknight
Active User
Joined: 22 Jan 2008 Posts: 117 Location: Liberty city
|
|
|
|
While using cursor as per the below process,
Declare
Open Cursor
Fetch Cursor
---> Update records
---> Commit has been used
Close Cursor
If we use Commit explicitly, it will close the cursor technically, after that if we close the cursor again as a cursor process, will that give -502 ? or skips the step and run. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
xknight
Active User
Joined: 22 Jan 2008 Posts: 117 Location: Liberty city
|
|
|
|
Hello Dick,
First, Thank you very much for the manual link, but i still confused the way it works.
Using "WITHOUT HOLD" , we get -502 error after giving commit and close the cursor again as per process. Am i right?
Please suggest.
Regards,
Xavier |
|
Back to top |
|
|
|