RE: [INTERFACES] money format - Mailing list pgsql-interfaces

From Jackson, DeJuan
Subject RE: [INTERFACES] money format
Date
Msg-id F10BB1FAF801D111829B0060971D839F4F2EC0@cpsmail
Whole thread Raw
List pgsql-interfaces
> insert into table values (100);
> insert into table values (100.);
> insert into table values (100.00);
>
> Error while executing the query;
> WARN:Bad money external representation
> 100.000000 (1)
>
> I've searched the docs, but I can not find how to enter a value in a
> money
> field. It would seem that any number should sqeeze in, even with
> forced
> rounding by the backend. It shouldn't be this hard ;-(
>
> Tried with psql, libpq, BDD.
>
> Ken
>
Don't what version you are using but using '100.23' works for me.
    -DEJ

pgsql-interfaces by date:

Previous
From: "Ken J. Wright"
Date:
Subject: money format
Next
From: Byron Nikolaidis
Date:
Subject: SOURCE CODE FOR ODBC DRIVER v.06.40.0001