sql server 2000的datetime数据类型
xZJJ 2002-10-24 02:57:50 用select语句查询出字段类型为datetime,数值为null的记录?
我用select * from 表名 where 字段名=null 不对
select * from 表名 where 字段名 isnull 不对
select * from 表名 where 字段名=‘’ 不对
到底应该怎么使用这个语句啊?
另外,datetime类型,我只想在字段中存储一个date而不想存储时间,怎么设置?
请各位高手指教!谢谢!