From: Marco Kärger <m.kaerger@vitrado.de>
To: pgsql-admin@postgresql.org
Subject: change datatypes
Date: Wed, 27 Nov 2002 09:45:06 +0100
Message-ID: <3DE48612.7050408@vitrado.de> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: m.kaerger@vitrado.de
Subject: Re: change datatypes
In-Reply-To: <3DE48612.7050408@vitrado.de>
References: <3DE48612.7050408@vitrado.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox