RE: [INTERFACES] money format

Поиск
Список
Период
Сортировка
От Jackson, DeJuan
Тема RE: [INTERFACES] money format
Дата
Msg-id F10BB1FAF801D111829B0060971D839F4F2EC0@cpsmail
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Ken J. Wright"
Дата:
Сообщение: money format
Следующее
От: Byron Nikolaidis
Дата:
Сообщение: SOURCE CODE FOR ODBC DRIVER v.06.40.0001