as per lock in sql server if a shared (S) lock has been applied to a resource, other transactions can also acquire a shared lock or an update (U) lock on that item even if the first transaction has not completed. However, other transactions cannot acquire an exclusive lock until the shared lock has been released.
here I am getting confused--
other transactions cannot acquire an exclusive lock until the shared lock has been released.
My understanding is if select statement is running then update transaction can not taken? or something else.
Regards,
jamanu