日期:2014-05-18 浏览次数:20634 次
insert into A_HISTORY select * from a where datediff(dd,时间字段,getdate())<=3
------解决方案--------------------
set identity_insert T_BAKMT_HISTORY on
insert into A_HISTORY select * from T_BAKMT_HISTORY
set identity_insert T_BAKMT_HISTORY off