I want to write one SP like,
before stating migration i want to know anybody lock the tables?
Because if somebody locking the tables, it cause migration error...
How to find which user lock the table in the database.....
This SP SP_lock is not useful for my process .
Plz give me some tips....