How can I change type of column

Поиск
Список
Период
Сортировка
От mlists
Тема How can I change type of column
Дата
Msg-id 406AE56C.8070606@panforma.co.yu
обсуждение исходный текст
Ответы Re: How can I change type of column  (Bruno Wolff III <bruno@wolff.to>)
Re: How can I change type of column  ("Karl O. Pinc" <kop@meme.com>)
Список pgsql-general
Can I change type of column with alter table command?

For instance if I have a table t1 and column c1 which is defined as
decimal(18, 2) and I want to change it into decimal(18, 3) in MS SQL
server I can write:

alter table t1 alter column c1 decimal(18, 3)

Is there something similar in PostgreSQL? Tnx in advance.

Dragan




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

Предыдущее
От: Alexander Cohen
Дата:
Сообщение: select statement sorting
Следующее
От: Nick Barr
Дата:
Сообщение: Re: select statement sorting