How can we understand the actual meaning of DB2 code page?

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.