在Oracle中怎么判断字段是否为空

yul26 2003-10-29 04:49:09
在Oracle中有没有函数判断字段是否为空,就像SQLServer中的IsNull一样,急,谢谢
...全文
894 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
zltion 2003-10-31
  • 打赏
  • 举报
回复
nvl(data,1);
not colnum is null;
pengdali 2003-10-30
  • 打赏
  • 举报
回复
select * from table1 where field1 is null;

select * from table1 where field1 is not null;




isnull:



select nvl(xx,'默认') from table1;


chanet 2003-10-30
  • 打赏
  • 举报
回复
select * from table1 where field1 is null;
BlueSuperMan 2003-10-30
  • 打赏
  • 举报
回复
is null
beckhambobo 2003-10-29
  • 打赏
  • 举报
回复
is null
smallcrocodile 2003-10-29
  • 打赏
  • 举报
回复
is null
nvl()
mydeer 2003-10-29
  • 打赏
  • 举报
回复
nvl()

17,140

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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