decimal

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

decimal

От:
"Aleš Vojáček" <alesv@fbl.cz>
Дата:
Hi all,
I'm new in postress world,
I have one question exists any datatype like decimal (12,6) (123456789012.123456) in postgress?
sorry for my english
Ales

Re: [SQL] decimal

От:
Jeff MacDonald <jeff@hub.org>
Дата:
greetings,

you need the numeric type

ie

create table example(thisvaluse	numeric(12,6)
);

insert into table example values(012345678912.012345);


On Wed, 22 Sep 1999, Ale� Voj��ek wrote:

> Hi all,
> I'm new in postress world, 
> I have one question exists any datatype like decimal (12,6) (123456789012.123456) in postgress?
> sorry for my english
> Ales
> 

======================================================
Jeff MacDonaldjeff@hub.org	webpage: http://hub.org/~jeffjeff@pgsql.com	irc: bignose on EFnet
======================================================


Re: [SQL] decimal

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Aleš Vojáček"  writes:
>  http-equiv=3DContent-Type>
> 
> 
> 
> 
Hi all,
>
I'm new in postress world, = >
>
I have one question exists any = > datatype like=20 > decimal (12,6) (123456789012.123456) in postgress?
>
sorry for my english
>
Ales
Please don't use HTML in email... Yes, there's a full decimal/numeric implementation in Postgres 6.5 and later. regards, tom lane
FAQ