刪除刷卡資料....
第1頁(共1頁)
刪除刷卡資料....
例:刪除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 流水號
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 流水號
第1頁(共1頁)
這個論壇的權限:
您 無法 在這個版面回復文章