If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > codeset changes when restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-10, 15:27
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
codeset changes when restore

DB2 v9.5 ESE on AIX v6.1

I need to have a database with
Database code page = 819
Database code set = ISO8859-1

so I create a database with this codeset, but when I restore database (on v9.5) from backup file (from v8.2) into this database, codeset changes to:
Database code page = 850
Database code set = IBM-850

which is the codeset of the database in backup image.

What can I do to keep same codeset/page (819)?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS

Last edited by MarkhamDBA; 06-16-10 at 15:31.
Reply With Quote
  #2 (permalink)  
Old 06-16-10, 15:54
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You will need to use a backup of the database whose codeset is 819.
Reply With Quote
  #3 (permalink)  
Old 06-18-10, 05:11
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Backup/Restore only copies the data as-is and does not apply any kind of modifications/reorganizations. So it is just a binary copy.

If you want to modify the code page, you need to export/import the data.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On