The following articles mainly show you the gymnastics-specific descriptions of DB2 code page in actual operations. I often feel that the concept of code page has no practical significance, at the same time, the understanding of this concept is not very thorough, when creating a database, specify the database character set as codeset.
In addition, the code page of databases created by different codesets is 12082003 server ),
So what is the practical significance of DB2 code page?
A: Codepage refers to the version of DB2. Generally, if the operating system is Chinese, DB2 will be automatically installed into the Chinese version. If the operating system is English, DB2 will be automatically installed into the English version. Even if the codepage of the source database is different from that of the target database, you can still successfully connect the source database to the target database, that is, the connect command can still be successfully run ).
But if you do not define an appropriate conversion table to convert the codepage tables between two different databases), errors will inevitably occur during replication. For the sake of simplicity, both databases use the same codepage during this operation. It should be mentioned that codepage can be specified when the database is created.
The above content is an introduction to the practical significance of the DB2 code page.