Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: modify datatype with data?

Re: modify datatype with data?

From: Knut Talman <knut.talman_at_mytoys.de>
Date: Thu, 21 Mar 2002 21:41:49 +0100
Message-ID: <3C9A458D.A0E20023@mytoys.de>


> I had thought of that. Unfortunately I want to change the datatypes of my
> primary keys...

Add another column of the new type, copy the old column to the new one, drop the primary key constraint, declare the new column as primary key and drop the old column.

Regards,

Knut

-- 
Dipl.-Inform. Knut Talman                       Fon +49.30.72 62 01 411
myToys.de GmbH                                  Fax +49.30.72 62 01 222
Schoenhauser Allee 36-39                        Mobil +49.173.671 65 65
D-10435 Berlin
Received on Thu Mar 21 2002 - 14:41:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US