根据被锁表的表名,查询出oid(表名区分大小写)
select oid from sys_class where relname = '表名';
根据查询出的oid,查询出pid
select pid from sys_locks where relation = 'oid';
根据pid,强制结束该进程
select sys_terminate_backend(pid);
标签:锁表,解锁,oid,pid,Kingbase,查询,sys,表名,select
来源: https://www.cnblogs.com/stilldream/p/16423288.html