Hi all,
i have a problem like, lets say a database table is locked in shared mode.
At that time another thread is trying to put Exclusive lock on it.
so my question is how can you check the type of lock present on a particular table. If we can find out that there is already some lock present on a table, then we can make the second thread to wait for the lock to be released.
Any input on the same will be helpful.
Thanks