Sign-up....

select 语句

select * from table_name where column_value="

这个语句在oracle 中有什么问题吗?

[70 byte] By [msdn] at [2007-8-14 15:26:55]
# 1 Re: select 语句

select * from table_name where column_value is null

ncwuhh at 2005-5-26 11:21:16 >
# 2 Re: select 语句

同意楼上的

psp2003 at 2005-5-26 11:25:08 >
# 3 Re: select 语句

在oracle里null和空是不一样的!

wupangzi at 2005-5-26 11:25:52 >
# 4 Re: select 语句

select * from table_name where column_value=' ';

' '和null是不一样的

zsfww1205 at 2005-5-26 11:39:24 >
# 5 Re: select 语句

應該是不一樣得

WYC2300 at 2005-5-26 11:56:07 >
# 6 Re: select 语句

select * from table_name where column_value='';或collumn_value is null

qiekong at 2005-5-26 12:31:11 >
# 7 Re: select 语句

首先使用有问题,要用单引号

其次,如果你想查询null的情况,使用=''是不可以的,必须用is null操作

zakat at 2005-5-26 14:00:33 >

Oracle

All Classified