Re: What are the BIG reasons for locking the TABLE? :)
It's basically so people reading and writing in another session don't effect a long running transaction in your session.
Lets say you want to do various things with the data which ends with a calculation on the totals in a table, it may be that during the original processing somebody added some records which will result in the totals not matching up with the data you have already processed.
Andrew Gilfrin
------------------
http://gilfster.blogspot.com
My MySQL related Blog
http://www.mysqldevelopment.com
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information
Subject
Written By
Posted
Re: What are the BIG reasons for locking the TABLE? :)
July 26, 2005 02:28PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.