EXEC sp_who active - look at what caused the obstruction, blk blk <> 0
- Unlock table
DECLARE @spid int
the Set @spid = 274 - process lock table
DECLARE @sql VARCHAR (1000)
the SET @ SQL = 'the kill' + Cast (@spid AS VARCHAR)
Exec (@sql)
EXEC sp_who active - look at what caused the obstruction, blk blk <> 0
- Unlock table
DECLARE @spid int
the Set @spid = 274 - process lock table
DECLARE @sql VARCHAR (1000)
the SET @ SQL = 'the kill' + Cast (@spid AS VARCHAR)
Exec (@sql)