LOCK TABLES, you must lock all tables that you are goingto use in your queries. Because
LOCK TABLES will not lock views, if the operation that you are performing uses any views, you must
also lock all of the base tables on which those views depend.
While the locks obtained with a
LOCK TABLES statement are in effect, you cannot access any tables that were not locked by the statement.
Also, you cannot use a locked table multiple times in a single
query.
Reference
 
No comments:
Post a Comment