cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

difference between shared & exclusive lock?

Former Member
0 Likes
889

hi

please tell me difference between shared & exclusive lock?

(sm12)

regards

mohsin

View Entire Topic
Former Member
0 Likes

Shared Lock (S):- No write locks can be requested for this objects. Several users can view the data. Several users can give shared lock on the same object.

Exclusive Lock (E):- This is not user specific. Its transaction specific. Only one transaction given by the user who provided the lock can again lock the object being locked in E mode. Also the lock can be removed only by the person who locked it.

Exclusive but cumulative (X):- This lock can be called only once. Furthur lock creations are rejected even thogh using the same transaction. Also called as write lock

Award points if helpful

Regards,

Shyam