To convert an MS SQL database to Unicode
- As is recommended before any activity involving dbupgrade or dbreorg, perform a backup of the database that will be affected.
-
Verify that the current database is in a good state. At the Landmark command line, type
dbverify -q dataArea
Any inconsistencies or issues should be resolved before you continue.
-
Run
changeda -s
for each database space in order to change the database server character set to UTF-16. At the Landmark command line, typechangeda -s charset=UTF-16 productLine databaseSpace
-
Run
changeda -d
in order to change the validation character set in Landmark to UTF-16. At the Landmark command line, typechangeda -d charset=UTF-16 productLine
-
Rebuild the data area. At the Landmark command line, type
stagelandmark dataarea
-
Perform the database reorganization. At the Landmark command line, type
activatelandmark dataarea
-
Verify that the database reorganization was successful. At the Landmark command line, type
dbverify -q dataArea