SECOM ACDoor
Would you like to react to this message? Create an account in a few clicks or log in to continue.

刪除刷卡資料....

向下

刪除刷卡資料.... Empty 刪除刷卡資料....

發表  Admin 11/22/2012, 13:30

例:刪除2010/09/10~2010/09/22刷卡資料
delete from onlinemsg
where recorddatetime > '2010/09/10 00:00:00' and recorddatetime < '2010/09/23 00:00:00'
delete from onlinemsg_temp
where recorddatetime > '2010/09/10 00:00:00' and recorddatetime < '2010/09/23 00:00:00'
update onlinemsg_main set recorddatetime = null , empno = null , cardno = null
where recorddatetime > '2010/09/10 00:00:00' and recorddatetime < '2010/09/23 00:00:00'
--不得砍任何記錄 countNo 流水號

Admin
Admin

文章數 : 63
注冊日期 : 2012-11-20
年齡 : 53

http://acad.365d365.com

回頂端 向下

回頂端


 
這個論壇的權限:
無法 在這個版面回復文章