22,300
社区成员




select Syh,IcdCode,IcdName,DiagDate,DiagDoct,Remark
from [172.16.2.81].THIS4.dbo.msDiagInfo_zy
where syh>='190891' and Diagdate>'2015-11-16 00:00:00'
select Syh,IcdCode,IcdName,DiagDate,DiagDoct,Remark
from [172.16.2.81].THIS4.dbo.msDiagInfo_zy
where syh>='190891' and Diagdate is null
这个执行一下,看看是不是有空值