How to unlock table in sybase?

橙三吉。 提交于 2019-12-01 12:17:53

问题


im trying to change some types on my table in sybase, but when i change it, the output is this one.

User 'DBA' has the row in 'table' locked

How to unlock this?


回答1:


I would:

  1. determine the connection_id using sa_locks (documentation here)
  2. issue the drop connection *connection_id* statement to the connection that is causing the lock to the table.

Use it with care!



来源:https://stackoverflow.com/questions/21413676/how-to-unlock-table-in-sybase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!