Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com [194.25.134.16]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5QEgHa87121 for ; Tue, 26 Jun 2001 10:42:17 -0400 (EDT) (envelope-from peter_e@gmx.net) Received: from fwd01.sul.t-online.de by mailout00.sul.t-online.de with smtp id 15Eu2S-0002FZ-05; Tue, 26 Jun 2001 16:42:00 +0200 Received: from peter.localdomain (520083510237-0001@[217.80.146.16]) by fmrl01.sul.t-online.com with esmtp id 15Eu2H-1QkfgWC; Tue, 26 Jun 2001 16:41:49 +0200 Date: Tue, 26 Jun 2001 16:43:54 +0200 (CEST) From: Peter Eisentraut To: Ilan Fait cc: "'Pgsql-Sql (E-mail)" Subject: Re: Changing datatype of a column In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520083510237-0001@t-dialin.net X-Archive-Number: 200106/418 X-Sequence-Number: 3715 Ilan Fait writes: > I would like to Know if there any way (and what is the command > for that) to convert a column datatype > from int4 to numeric(11) of an existing table that have data > in it? No, you have to recreate the table. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter