Re: Alter table

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: Alter table
Дата
Msg-id 3DCB7956.5040309@klaster.net
обсуждение исходный текст
Ответ на Alter table  ("Rachel.Vaudron" <rachel@lazaret.unice.fr>)
Ответы Re: Alter table  ("Rachel.Vaudron" <rachel@lazaret.unice.fr>)
Список pgsql-sql
Uz.ytkownik Rachel.Vaudron napisa?:
> Hi,
> 
> I wonder if it is possible to remove a field of a table ?
> I haven't found anything about this into the reference manual.
> Can I do something like that ?:
> 
> ALTER TABLE table
> DROP COLUMN column;
alter table xxx rename to temp;
create table xxx as select field1, field2, ...without some field... from temp;
drop table temp;

Tomasz Myrta



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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: how to get the source table & field name of a view field
Следующее
От: "Rachel.Vaudron"
Дата:
Сообщение: Re: Alter table