Re: alter table

Поиск
Список
Период
Сортировка
Искать
От
Michael Glaesemann
Тема
Re: alter table
Дата
Msg-id
7F00B433-6977-4340-841A-2084DD9736D4@myrealbox.com
Ответ на
alter table (Maciej Piekielniak)
Список
Дерево обсуждения
Re: alter table "Owen Jacobson" <ojacobson@osl.com>

On Feb 16, 2006, at 3:11 , Maciej Piekielniak wrote:

> How can i modify few fields with alter?

I think you need to alter columns one at a time. If you need them to  
go into effect at the same time, you can wrap the multiple ALTER  
TABLE statements in a transaction. For example,

begin;
ALTER TABLE fv_wystawione ALTER id_fv SET DEFAULT nextval 
('id_fv_seq'::text);
ALTER TABLE fv_wystawione ALTER imie SET DEFAULT '';
commit;

Michael Glaesemann
grzm myrealbox com




В списке pgsql-sql по дате отправления
От: Daniel Caune
Дата:
От: AKHILESH GUPTA
Дата:
FAQ