change datatypes

Поиск
Список
Период
Сортировка
От Marco Kärger
Тема change datatypes
Дата
Msg-id 3DE48612.7050408@vitrado.de
обсуждение исходный текст
Список pgsql-admin
hi there,

i want to change the datatype within one colum for example column 'text'
which is 'varchar' to 'int(4)' i didnt find anything about that in the
manuals.

i tried something like that:

ALTER table io ALTER COLUMN wort RENAME TO wort int(4);

but it didnt work! i hope you can help me!

thx marco


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

Предыдущее
От: "Rajesh Kumar Mallah."
Дата:
Сообщение: Re: pg_dump 7.3rc1 with 7.2 server.
Следующее
От: "Nick Fankhauser"
Дата:
Сообщение: pg_restore error: function plpgsql_call_handler already exists with same argument types