Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3B45B475D64 for ; Fri, 8 Nov 2002 03:40:28 -0500 (EST) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id 8B594475D12 for ; Fri, 8 Nov 2002 03:40:27 -0500 (EST) Received: from klaster.net (pd126.krakow.cvx.ppp.tpnet.pl [213.76.39.126]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id DCAB32B4D2; Fri, 8 Nov 2002 09:31:04 +0100 (CET) Message-ID: <3DCB7956.5040309@klaster.net> Date: Fri, 08 Nov 2002 09:44:06 +0100 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; PL; rv:1.1) Gecko/20020826 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: "Rachel.Vaudron" Cc: pgsql-sql@postgresql.org Subject: Re: Alter table References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/130 X-Sequence-Number: 10272 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