what are the differences among these table level lock
modes - IN SHARE MODE, IN SHARE UPDATE MODE, IN EXCLUSIVE
MODE ?
Answer Posted / raji_4u
in share mode :
this mode is for read only on entire table.
we can not make changes to table.
any user can have a lock in share mode at same time.
in share update mode :
this mode is used to lock the selected rows for update.
this mode acquires lock on selected rows only,not entire table.
other user can have lock on other rows on the same table but
not on the rows you have locked.
in exclusive mode :
this acquires lock on entire table.
another user can not have any lock on that table.
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
Which operator is used in query for pattern matching?
What is difference between inner join and self join?
Can we perform dml in function?
What operators deal with null?
how to create a test table in your mysql server? : Sql dba
how to delete an existing column in a table? : Sql dba
How will you distinguish a global variable with a local variable in pl/sql?
Is null operator in sql?
What is embedded sql in db2?
what is sql profiler? : Sql dba
What is difference between sql and excel?
Does sql view stored data?
What is sql scripting?
what is query cache in mysql? : Sql dba
Which tcp/ip port does sql server run?