RE: [INTERFACES] money format

Поиск
Список
Период
Сортировка
Искать

RE: [INTERFACES] money format

От:
"Jackson, DeJuan" <djackson@cpsgroup.com>
Дата:
> 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
FAQ