标签:pass sda commit mit nbsp rom 事务 工控机 and
-- 删除ID小的数据
begin tran --使用事务,防止误删
delete a from REMOTEDETECTION a where exists(select 1 from REMOTEDETECTION
where vlpn=a.vlpn and vlpncolor=a.vlpncolor and PASSDATETIME=a.PASSDATETIME and REMOTEDETECTIONID>a.REMOTEDETECTIONID)
rollback tran --误删后可以回退
commit tran --提交事务
http://120.236.164.111:5018/MSVPublish/移动源/数采服务/工控机端/完整系统包/20191226V1.0.3.rar
标签:pass sda commit mit nbsp rom 事务 工控机 and
原文地址:https://www.cnblogs.com/luoguixin/p/12104018.html