每天一条DB2命令-027#通过表锁判断查看某张表是否有活动事务db2 "select * from sysibmadm.snaplock where tabname='STAFF' and tabschema='DB2INST1'"