Re: [SQL] decimal(x,y) function.

Поиск
Список
Период
Сортировка
От Jose' Soares Da Silva
Тема Re: [SQL] decimal(x,y) function.
Дата
Msg-id Pine.LNX.3.96.980525110551.750A-100000@proxy.bazzanese.com
обсуждение исходный текст
Ответ на decimal(x,y) function.  (Jonah Kuo <jonahkuo@mail.ttn.com.tw>)
Список pgsql-sql
On Mon, 25 May 1998, Jonah Kuo wrote:

> Hello,
>
>     How should I use the decimal(x,y) function?
>
>     I tried use it  with the following result:
>
> db6000=> create table atest (
> db6000-> price decimal(8,2));
> ERROR:  DECIMAL scale 2 must be zero
>
PostgreSQL doesn't yet implement full syntax of SQL DECIMAL type.
It accepts only scale equal to 0 as in:

   DECIMAL(8,0)

And it must be DECIMAL, PostgreSQL doesn't recognize the abbreviation DEC

                                                            Jose'


В списке pgsql-sql по дате отправления:

Предыдущее
От: Jonah Kuo
Дата:
Сообщение: decimal(x,y) function.
Следующее
От: Jonah Kuo
Дата:
Сообщение: Re: [SQL] decimal(x,y) function.