Subject | Re: [firebird-support] Re: Concatenating varchar2 fields |
---|---|
Author | Dave Glasser |
Post date | 2003-10-06T14:56:03Z |
--- Svein Erling <svein.erling.tysvaer@...> wrote:
"If either of the strings being concatenated is NULL, the result of the
concatenation also is NULL." (p. 248.)
Interestingly, though, I just tried it with Oracle 8i and it treated a
null field as a zero-length string.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
> Of course you get NULL, NULL is a state meaning UNKNOWN - somethingThat's correct; according to "SQL Instant Reference" by Martin Gruber,
> that can be very different from an empty string. Hence, you can never
>
> know the result when NULL is involved in any computation and the
> result must be NULL.
"If either of the strings being concatenated is NULL, the result of the
concatenation also is NULL." (p. 248.)
Interestingly, though, I just tried it with Oracle 8i and it treated a
null field as a zero-length string.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com