Karl Raven wrote:
> I like to change a null value of a query to 0 in the SQL script. I know how
> to do it in MS-SQL server and MS-Access but those commands does not work in
> pg-sql.
>
> Anyone has any ideas?
>
> Thanks
>
I think the following should work:
select coalesce( my_attrib, 0 ) from my_tab
Thomas