Change db2 database's codeset and territory

This is a quik guide for you to change the codeset and territory of your db2 database
 
  1. Start->Run
  2. db2cmd
  3. >db2move db_name export
  4. >db2look -d db_name -e -a -x -o db_name.sql
  5. >db2 drop db db_name
  6. >create db db_name using codeset iso8859-1 territory cn
  7. >db2 -tvf db_name.sql
  8. >db2move db_name load
  9. >db2 set integrity for table_name immediate checked
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章