Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Committing inside a cursor

692292Mar 23 2009 — edited Mar 24 2009
Hello alls,

well, first of all I'm quite new to Oracle so please be patient if I'm asking something silly.

I'm working on a procedure on a Oracle 9i database. The procedure loops on a cursor and, inside the loop, it updates the same table it's looping on. I have some conditional statements that works on these updates. But there's something wrong because when I query the table inside the cursor I don't find data that must be updated.

I've used commit statements to store data but it seems to not work properly.

I've not posted the code for two reason. First of all, it's about 1300 lines of code and the second problem is that it's use italian names for variables and procedures because of customer needing. Anyway if you think it could be useful I can try to post parts of the code.

Thanks a lot for your help,
Lorenzo.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2009
Added on Mar 23 2009
15 comments
1,590 views