在表格字段中查找空白日期 [英] find blank date in the table field
本文介绍了在表格字段中查找空白日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的先生/女士
i有一张桌子
date1
带有coloumn和值为
id date1 date2
1 01-04-2013 03-04-2013
2 01-03-2013< null> < br $>
先生我想获取没有date2的值。
i am使用日期部分查询我的查询但没有行查找
解决方案
使用此
从日期表中选择*其中isnull(date2,''')=''''
Dear Sir/Ma''am
i have a table
date1
with coloumn and values as
id date1 date2
1 01-04-2013 03-04-2013
2 01-03-2013 <null>
sir i want to fetch the values which have no date2 .
i am using date part with my query but no row find
解决方案
Use This
select * from Datetable where isnull(date2,'''') =''''
这篇关于在表格字段中查找空白日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文