Subject | Re: [firebird-support] Null to Zero conversion |
---|---|
Author | Martijn Tonies |
Post date | 2003-08-28T14:34:07Z |
Hi Cavit,
Or use an UNION with:
CAST(NULL as <datatype of your column>)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> > I have a view returning null values because of left join but I wantWith Fb1.5 - use COALESCE, which can do an IsNull.
> > to replace null values with 0's. I cannod find any way to do this. I
> > think there is no function like IsNull(). I tried using union but I
> > get an error message of "datatype unknown".
Or use an UNION with:
CAST(NULL as <datatype of your column>)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com