I want it without data deleting and moving.
I am Unable to alter datatype number to nvarchar In oracle 10g. its displaying message like ORA-01439: column to be modified must be empty to change datatype.
I have data in table and column is already set NOT NUll so i cannot set it null or blank. And Altering column is primary key which is related number of tables to foreign key.
Is there any quick solution to Fix it.
Suggested way:
You cannot change a column type in oracle other way (that i know about).
NOTE I see you have also mentioned Oracle 11g tag, however your question says you are on 10g. If you are on 11g or up, you could use VIRTUAL COLUMN.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With