Oracle varchar2 to nvarchar2 conversion
-
20-06-2021 - |
Question
If I change an existing column type from varchar2 to nvarchar2 in Oracle will Oracle automatically convert existing column data between character set or should I do it myself?
I'm using Oracle 11g, the varchar2 character set is WE8MSWIN1252 and the nvarchar2 character set is AL16UTF16
Solution
You can use the package DBMS_REDEFINITION for doing the changing the varchar2 to nvarchar2 column for a table
Please find the below link which might be helpful
Using Online Table Redefinition to Migrate a Large Table to Unicode
Also find the documentation for General Character set Migration
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow