On Wed, 2003-10-01 at 04:57, Daniel Schuchardt wrote:
> Hi @ all,
>
> I think thats a bug:
>
> SELECT '#' || '#'
>
> will work but
>
> SELECT '#' || CAST(NULL AS VARCHAR)
>
> will return only empty rows.
> My Query looks like this : SELECT field1 || field2 FROM ...
> If field2 ISNULL then everything is null. CAST does not help.
You want to use COALESCE.
--
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA
"Our computers and their computers are the same color. The
conversion should be no problem!"
Unknown