Re: DROP COLUMN ?

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: DROP COLUMN ?
Дата
Msg-id Pine.LNX.4.21.0104261446190.1139-100000@olympus.scw.org
обсуждение исходный текст
Ответ на Re: DROP COLUMN ?  (ERIC Lawson - x52010 <eric@bioeng.washington.edu>)
Список pgsql-novice
On Thu, 26 Apr 2001, ERIC Lawson - x52010 wrote:

> > > How can we drop a column from a table ?
> >
> >     It seems we can't.
>
> The SQL command ALTER TABLE DROP COLUMN isn't supported; see
>
> http://www.ca.postgresql.org/docs/faq-english.html#4.5
>
> for a work-around; note that I dimly recall some caveats regarding
> using this workaround, so tread lightly (back everything up first, and
> test the results thoroughly afterwards).

Also a new tutorial on this & other schema changes at
http://techdocs.postgresql.org/techdocs/updatingcolumns.html

--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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

Предыдущее
От: ERIC Lawson - x52010
Дата:
Сообщение: Re: DROP COLUMN ?
Следующее
От: Shay Moreno
Дата:
Сообщение: Re: Locking a Table