thanks
will try it..
"ThomasR" <trx(at)wtal(dot)de> wrote in message news:3C360816(dot)1080103(at)wtal(dot)de(dot)(dot)(dot)
> 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
>