Re: total newbie question - Mailing list pgsql-general

From Nils Zonneveld
Subject Re: total newbie question
Date
Msg-id 3B27B7BF.B447796F@mbit.nl
Whole thread Raw
In response to Re: total newbie question  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general

Peter Eisentraut wrote:
>
> Tad Naworal writes:
>
> > I'm trying to add some numeric columns together
> >
> > select (stotal + ltotal) as total from table where cusid='12123';
> >
> > I searched the docs and could not find an answer.
> > any help would be greatly appreciated
>
> That's not a question, that's a statement.  ;-)
> What is your question?

It could be he's trying to add up a integer and a float?

Nils

pgsql-general by date:

Previous
From: Marcel Gsteiger
Date:
Subject: Re: Newbie questions
Next
From: "David D. Kilzer"
Date:
Subject: [PATCH] Contrib C source for casting MONEY to INT[248] and FLOAT[48]