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!

Cost of Update Transaction

user586638Apr 25 2008 — edited Apr 28 2008
In our current procedure for updating part cost in a table, we compare the field's value with the new value and if it is different, the record gets updated. This is done in a loop. Would it be faster to just update the field with the new value even if the value didn't change or is the cost of update higher than the cost of comparing 2 values?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2008
Added on Apr 25 2008
20 comments
1,185 views