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

Why do we use function in pl sql?

553


List the various privileges that a user can grant to another user?

567


What is difference between rank () row_number () and dense_rank () in sql?

563


Can we join 3 tables in sql?

484


What is the difference between function, procedure and package in pl/sql?

553






How would you reference column values before and after you have inserted and deleted triggers?

616


What is sql injection owasp?

540


what are different types of keys in sql?

599


what is an index? : Sql dba

513


How to add new employee details in an employee_details table with the following details

637


What is sql lookup?

501


What is the difference between truncate and drop statements?

569


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

618


Why is nosql good?

585


How do I make sql search faster?

547