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


Please Help Members By Posting Answers For Below Questions

What is native sql query?

736


What is the use of procedures?

716


What is the usage of sql functions?

814


Explain some predefined exceptions.

778


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

728






Is inner join same as self join?

785


What is a delimiter in sas?

730


What is the difference between sql and mysql?

759


How do I run a pl sql program?

802


What is a pdo connection?

685


What is difference between sql and oracle?

776


What is an inconsistent dependency?

761


What is the difference between microsoft sql and mysql?

709


What is the difference between having clause and where clause?

793


What is the difference between the implicit and explicit cursors?

744