查询被锁表: SELECT * FROM SYSIBMADM.LOCKS_HELD A WHERE A.TABLE = 'KNA'; 解除锁表: FORCE APPLICATION(agent_id);