标签:set port 数据 ati with select lock 是否一致 ant
select cardflag ,cardmoney, count(*) from cardbase with( nolock) where state =1 and UseTime between ‘2015-8-16‘ and ‘2015-8-17‘and cardflag in (‘chinaszx‘, ‘chinaunicom‘,‘chinatelecom‘ ,‘chinaszx_yxgh‘, ‘chinaunicom_yxgh‘,‘chinatelecom_yxgh‘ )group by cardflag, cardmoneyorder by 1,2
select cardflag ,cardmoney, count(*) from Owner_card with( nolock) where CreateTime between ‘2015-8-16‘ and ‘2015-8-17‘and cardflag in (‘chinaszx‘, ‘chinaunicom‘,‘chinatelecom‘ ,‘chinaszx_yxgh‘, ‘chinaunicom_yxgh‘,‘chinatelecom_yxgh‘ )group by cardflag, cardmoneyorder by 1,2
现整理CardBase出库与OwnerCard入库核对,请按以下步骤操作核对。
标签:set port 数据 ati with select lock 是否一致 ant
原文地址:https://www.cnblogs.com/ComputerVip/p/11624747.html