Re: numeric definition advice

Поиск
Список
Период
Сортировка
От Raimon Fernandez
Тема Re: numeric definition advice
Дата
Msg-id 45F98A02-BEB7-4BC4-8FCC-4570A857C73B@montx.com
обсуждение исходный текст
Ответ на Re: numeric definition advice  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы warnings restoring a db  (Raimon Fernandez <coder@montx.com>)
Список pgsql-novice
On 07/03/2008, at 14:37, Tom Lane wrote:

> Raimon Fernandez <coder@montx.com> writes:
>> Is valid to have a numeric with no precision and a scale of 2 ?
>
> No.  You can do something like NUMERIC(1000,2) though.  It's pretty
> much like VARCHAR --- the number you give is an upper limit, it's
> not causing any wasted space to be allocated.

thanks ...


raimon


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

Предыдущее
От: Mary Anderson
Дата:
Сообщение: pg_prepare question
Следующее
От: "Chigoy, Byron T"
Дата:
Сообщение: Optimizing Query (Index)