adspace


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 bcp? When does it used? : Sql dba

1065


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2100


Does group by remove duplicates?

1120


what is sql server agent? : Sql dba

1188


How do I remove duplicates in two columns?

1202


What is the current version of sql?

1106


Is inner join faster than left join?

1287


what is collation? : Sql dba

1242


Can we use distinct and group by together?

1146


Do we need to rebuild index after truncate?

1152


how many tables will create when we create table, what are they? : Sql dba

1155


what are the advantages of sql ? : Sql dba

1154


how to start mysql server? : Sql dba

1279


Can delete statement be rollbacked?

1065


what are aggregate and scalar functions? : Sql dba

1142