oracle怎么查询空字段
时间:2022-02-28 19:02
在oracle中,可以利用select查询语句配合“is”和“NULL”关键字来查询空字段,NULL关键字用于表示空字段,语法为“select * from 表名 where 字段名 is NULL”。 本教程操作环境:Windows10系统、Oracle 11g版、Dell G3电脑。 oracle查询为空的数据 为空的属于特殊值,这样的语句查不出 这情况我们用is来查询 推荐教程:《Oracle视频教程》 以上就是oracle怎么查询空字段的详细内容,更多请关注gxlsystem.com其它相关文章!oracle怎么查询空字段
where 字段名 is NULL
select gysname,gysdl,gysxl from formtable_main_674 where gysdl=1 and gysxl=''
select gysname,gysdl,gysxl from formtable_main_674 where gysdl=1 and gysxl is null