Re: Rename of a Table Column

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Rename of a Table Column
Дата
Msg-id Pine.LNX.4.30.0110191719130.21563-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Rename of a Table Column  ("James Kelty" <jamesk@ashlandagency.com>)
Список pgsql-admin
On Fri, 19 Oct 2001, James Kelty wrote:

> I have a table with a column that needs renameing. I do not know how to do
> this, and if anyone could point me in the right direction, I would really
> appreciate it!

ALTER TABLE <table> RENAME <oldname> TO <newname>;

This is documented in the PostgreSQL reference manual:

http://postgresql.cokernet.com/users-lounge/docs/7.1/reference/

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Chicken Little only has to be right once.


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Rename of a Table Column
Следующее
От: Brett Schwarz
Дата:
Сообщение: Re: Please help - tks