Need to change Column datatype having data
457512Dec 2 2005 — edited Dec 5 2005Hi Friends,
I need to change the column datatype from number(38) to varchar2(10), which is also a primary key and it may have some refernces and is also having some data.
According to me , first i need to update all the values to null
And then i need to change the datatype
But Here as the column is primary key , How can we update all the rows to null,
And what is the Procedure i need to follow such that i should not loose any data.
As for me i am creating duplicate and i want to restore after altering the datatype, but what about the referncing tables?
Please Get me out from this situation thank you
Thanks
Rajdeep.A