How to solve SQL Server Error 1222 i.e Unlock a SQL Server table

前端 未结 4 1149
不思量自难忘°
不思量自难忘° 2020-12-12 11:16

I am working in a database where I load data in a raw table by a data loader. But today the data loader got stuck for unknown reasons. Then I stopped the data loader from wi

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 12:10

    It's been a while, but last time I had something similar:

    ROLLBACK TRAN
    

    or trying to

    COMMIT
    

    what had allready been done free'd everything up so I was able to clear things out and start again.

提交回复
热议问题