| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: So what's null then if it's not nothing?
vc wrote:
> David Cressey wrote:
> [..]
>
>>As I comented a couple of weeks ago, >> >>A || EMPTY == EMPTY || A == A for every string A >> >>That makes EMPTY a pretty interesting string, from my point of view. I >>wouldn't want to confuse it with NULL any more than I'd want to confuse the >>integer zero with NULL. >> >> My comment drew no response. I'm not about to draw any inferences from >>that absence of a response.
It has always escaped me why Sybase particularly (and perhaps others) convert '' to ' ' for varchar attributes. I must admit I haven't applied much brain power to rationalising the impact on the query engine of unwinding this behaviour, but on first impression can't understand why NULL, '' and ' ' are not distinguishable. Curiously RTRIM('') gives NULL as a result!
Anyway, thats the way it is. Perhaps someone can turn on the light?
Cheers, Frank. Received on Sun Nov 27 2005 - 22:58:08 CST
![]() |
![]() |