Re: Deleting a COL

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Deleting a COL
Дата
Msg-id 200004012147.e31LkrR16199@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Deleting a COL  ("Antonio Lagnada" <lagnada@tbsoa.com>)
Ответы RE: Deleting a COL  ("Antonio Lagnada" <lagnada@tbsoa.com>)
Re: Deleting a COL  ("John M. Flinchbaugh" <glynis@butterfly.hjsoft.com>)
Список pgsql-sql
"Antonio Lagnada" wrote: > >Does anyone know how to delete a column in PostgreSQL? >I cannot find the SQL command to do
it.

ALTER TABLE DROP COLUMN colname

(but I don't think it's supported before release 7.0)

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver              PGP key from public servers; key
ID32B8FAA1                ========================================    "Therefore, if anyone is in Christ, he is a new
    creation; the old has gone, the new has come."                        II Corinthians 5:17  
 




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

Предыдущее
От: "Antonio Lagnada"
Дата:
Сообщение: Deleting a COL
Следующее
От: "Antonio Lagnada"
Дата:
Сообщение: oid field