Change type of column
Change type of column
От:
Volker Paul <vpaul@dohle.com>
Дата:
Hello, how can I change the type of a column, e.g. from varchar() to text? Or is it possible to drop (i.e. delete) a column without creating a new table from the old one but without that column, dropping the old table and renaming the old to the new? Thanks, Volker Paul
RE: Change type of column
От:
"Rob S." <rslifka@home.com>
Дата:
I think this is in the FAQ. I was reading it last nite and I believe there's something in there that might be relevant. - r > -----Original Message----- > From: pgsql-sql-owner@hub.org [mailto:pgsql-sql-owner@hub.org]On Behalf > Of Volker Paul > Sent: July 11, 2000 12:32 AM > To: pgsql-sql@postgresql.org > Subject: [SQL] Change type of column > > > Hello, > > how can I change the type of a column, e.g. from varchar() to text? > Or is it possible to drop (i.e. delete) a column without > creating a new table from the old one but without that column, > dropping the old table and renaming the old to the new? > > Thanks, > > Volker Paul >