Subject | RE: [ib-support] string functions |
---|---|
Author | Markus Ostenried |
Post date | 2003-03-05T13:51:06Z |
At 13:46 Wednesday, 05.03.2003 +0000, you wrote:
if e.g. string1 IS NULL then the result will be NULL, too.
what I do here is:
IF (string1 IS NULL) THEN
string1 = '';
IF (string2 IS NULL) THEN
string2 = '';
result = string1 || string2;
HTH,
MArkus
>result = string1 || string2;but be sure to test if one of the strings is NULL.
if e.g. string1 IS NULL then the result will be NULL, too.
what I do here is:
IF (string1 IS NULL) THEN
string1 = '';
IF (string2 IS NULL) THEN
string2 = '';
result = string1 || string2;
HTH,
MArkus