如何查询时间为空??

fangyi1120 2003-03-28 06:52:24
date型intime
select from table where intime=""
不能查出~~
...全文
40 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
hxiao98 2003-03-30
  • 打赏
  • 举报
回复
同意楼上的
chenyu5188 2003-03-28
  • 打赏
  • 举报
回复
用Is Null
Javaxhb 2003-03-28
  • 打赏
  • 举报
回复
就用这个select * from table where intime is null
szyhy810518 2003-03-28
  • 打赏
  • 举报
回复
能不能设置默认的时间如:9999/12/31
这样就能
select from table where intime=#9999/12/31#
mouseanAnya 2003-03-28
  • 打赏
  • 举报
回复
不要用=,使用is

select from table where intime is NULL
redkey 2003-03-28
  • 打赏
  • 举报
回复
使用isnull()函数
lk_cool 2003-03-28
  • 打赏
  • 举报
回复
select * from table where intime is null
可能会行吧!
sxs69 2003-03-28
  • 打赏
  • 举报
回复
select from table where intime=null

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧