select * from bas_Material
where CHECKSUM(*)
NOT IN (SELECT CHECKSUM(*) FROM erpdata_zl.dbo.bas_Material)
找出bas_Material不存在在 erpdata_zl.dbo.bas_Material中的记录
select * from bas_Material
where CHECKSUM(*)
NOT IN (SELECT CHECKSUM(*) FROM erpdata_zl.dbo.bas_Material)
找出bas_Material不存在在 erpdata_zl.dbo.bas_Material中的记录