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

Home -> Community -> Usenet -> c.d.o.server -> Changing datatype of columns without dropping associated constraints

Changing datatype of columns without dropping associated constraints

From: Pinaki <bpinaki123_at_indiatimes.com>
Date: 13 Feb 2004 02:58:56 -0800
Message-ID: <96eccafc.0402130258.c2a9fa1@posting.google.com>


Hello,

I have two tables...P_TYPE and AC_PROJECT

P_TYPE(table)

p_type_code varchar2(2) Primary Key --column
......
......

AC_TYPE(table)

ac_type_code varchar2(2) Primary Key --column p_type_code varchar2(2) Foreign Key relation to p_type_code in P_TYPE table.

Now I want to change the datatype of the p_type_code to char(2) in both the tables P_TYPE and AC_TYPE without dropping the constraint.

Will disabling the constraint allow me to change the datatype of the columns?

Thanks

Pinaki Received on Fri Feb 13 2004 - 04:58:56 CST

Original text of this message

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