Re: change existing table definition

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: change existing table definition
Дата
Msg-id 200506281614.25981.peter_e@gmx.net
обсуждение исходный текст
Ответ на change existing table definition  (Chuming Chen <chen@musc.edu>)
Ответы Re: change existing table definition
Re: change existing table definition
Список pgsql-admin
Chuming Chen wrote:
> How can I change the column definition of an existing table, ie. from
> varchar(30) to varchar(50)? Is there any way to add a new column to
> an existing table?

The ALTER TABLE command can do all that.  You need version 8.0 or later
for some functionality though.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Ian FREISLICH
Дата:
Сообщение: Re: How to compare the schemas ?
Следующее
От: Chuming Chen
Дата:
Сообщение: Re: change existing table definition