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

How do I upgrade sql?

553


How do I add a database to sql?

584


How to prepare for oracle pl sql certification?

572


What is the maximum rows in csv?

490


What is the maximum number of columns in sql table?

551






Why do we use partitions in sql?

549


What is varchar example?

578


What is the use of count (*) in sql?

551


is it possible to pass an object or table to a procedure as an argument?

576


Can primary key be changed?

529


what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba

620


What do you understand by pl/sql cursors?

554


What is sql and also describe types of sql statements?

567


What is the need of merge statement?

554


Are stored procedures faster than dynamic sql?

535