Re: Changing datatype of a column

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Changing datatype of a column
Дата
Msg-id Pine.LNX.4.30.0106261643340.724-100000@peter.localdomain
обсуждение исходный текст
Ответ на Changing datatype of a column  (Ilan Fait <ilan@iweb.com>)
Список pgsql-sql
Ilan Fait writes:

>               I would like to Know if there any way (and what is the command
> for that)  to convert a column datatype
>               from int4 to numeric(11)  of an existing table that have data
> in it?

No, you have to recreate the table.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problems using a rule with the WHERE clause
Следующее
От: Tom Lane
Дата:
Сообщение: Re: loosing connection after function call