Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9D1B44759BD for ; Wed, 27 Nov 2002 03:50:17 -0500 (EST) Received: from vitrado03.freenet.de (vitrado03.freenet.de [194.97.51.116]) by postgresql.org (Postfix) with ESMTP id D1F6A475843 for ; Wed, 27 Nov 2002 03:50:16 -0500 (EST) Received: from vitrado.de (unknown [194.97.5.114]) by vitrado03.freenet.de (Postfix) with ESMTP id E6EFB1A3AEA for ; Wed, 27 Nov 2002 09:48:37 +0100 (CET) Message-ID: <3DE48612.7050408@vitrado.de> Date: Wed, 27 Nov 2002 09:45:06 +0100 From: Marco =?ISO-8859-1?Q?K=E4rger?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; cebit) Gecko/20010131 Netscape6/6.01 X-Accept-Language: de MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: change datatypes Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/275 X-Sequence-Number: 6463 hi there, i want to change the datatype within one colum for example column 'text' which is 'varchar' to 'int(4)' i didnt find anything about that in the manuals. i tried something like that: ALTER table io ALTER COLUMN wort RENAME TO wort int(4); but it didnt work! i hope you can help me! thx marco