| 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?
David Cressey wrote:
> "Frank Hamersley" <terabitemightbe_at_bigpond.com> wrote in message
> news:A7wif.5513$ea6.729_at_news-server.bigpond.net.au...
>
>>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?
On zip research I am guessing the "impossible values" method given their propensity to force '' to ' ' to avoid embarassment and confusion.
Cheers, Frank. Received on Tue Nov 29 2005 - 07:21:12 CST
![]() |
![]() |