Re: Can one alter the format of a numeric column?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Can one alter the format of a numeric column?
Дата
Msg-id 20041127175047.GB7610@winnie.fuhr.org
обсуждение исходный текст
Ответ на Can one alter the format of a numeric column?  (Chris Green <chris@areti.co.uk>)
Ответы Re: Can one alter the format of a numeric column?
Список pgsql-general
On Sat, Nov 27, 2004 at 05:29:42PM +0000, Chris Green wrote:

> Can one alter the precision of a numeric column?
>
> I want to reduce the precision of a column from 20,4 to 20,2.

In PostgreSQL 8.0 (currently in beta) you can use ALTER TABLE
to alter a column's type.  For previous versions see the FAQ:

http://www.postgresql.org/docs/faqs/FAQ.html#4.4

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Woodchuck Bill
Дата:
Сообщение: Re: comp.databases.postgresql.* groups and RFD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: row-level deadlock problem