rafnunes (4/20/2016)
thanks for your answer.But correct if I'm wrong, after reset SQL server Service and application the lock should not disappear?
It's possible to know if a table is locked, or the state?
Thanks again.
After restarting the SQL Server service, which is a rather brutal technique for a production server, the locks should disappear.
To start investigating locks and who is locking, I suggest that you read up on sys.dm_tran_locks and sp_who2.