Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: where clause on null string
Zorglub <no_at_mail> wrote:
> why a WHERE myVarCharCol='data' OR myVarCharCol=''
If the contents of the field is NULL, you should check for 'is null', not an empty string. And are you sure that the field is not padded with spaces ?
What happen if you ask
where myVarCharCol like 'data%' ?
Davide Received on Tue Nov 13 2001 - 06:45:26 CST