菜鸟的问题,如何判断字段为空?

erwinf16 2006-06-22 01:47:00
select * from tables where ns_e_id!=null;
或者
select * form tables where ns_e_id!='';
都得不到值

请问该怎么写判断字段内容不为空的?
...全文
118 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
erwinf16 2006-06-22
  • 打赏
  • 举报
回复
惭愧!谢谢
xiaoyao820820 2006-06-22
  • 打赏
  • 举报
回复
select * from tables where ns_e_id is null;
select * from tables where ns_e_id is not null;

17,086

社区成员

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

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