Re: data type change

Поиск
Список
Период
Сортировка
От Alberto Bolchini
Тема Re: data type change
Дата
Msg-id 20030106124816.GA3122@bebop
обсуждение исходный текст
Ответ на data type change  (renzo rizzato <renzorizzato@iol.it>)
Список pgsql-novice
<quote who="renzo rizzato">

> does anybody know if any sql instruction exists to allow
> change of a column data type? In my case I need to convert a
> money type into numeric without any success.
AFAIK you cannot in Postgresql. I suggest you recreate the table with the
correct column datatypes (i.e. rename the table, create the new table and
populate it with values from the original table.) Watch out for triggers and
procedures.

Regards,

    Alberto.

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

Предыдущее
От: "MAASK Group"
Дата:
Сообщение: use of shared memory
Следующее
От: Aarni Ruuhimäki
Дата:
Сообщение: Fwd: Re: data type change