) Code Page in SSIS

Source: Internet
Author: User
Tags ssis
Code Page in SSIS

MSDN interprets Code Page as follows: For character and Unicode data, the Code Page defines the bit mode that represents a specific letter, number, or symbol (for example, 0x20 represents a space, 0x74 represents the character "t "). Some data types Use one byte for each character. The bit mode of each byte can be one of the 256 different bit modes.

 

During Data Coversion of SSIS projects, we often encounter problems like this:

The column "xxx" cannot be processed because more than one code page (1252 and 936) are specified...

This problem is usually prompted on the Destination control (such as ole db Destination), both the Data import Destination and the Data Flow Task control, this means that during conversion matching, the character set defines more than one code page. However, when the Destination control problem is solved, the problems on the Data Flow Task control will be solved, because the Destination control exists in the Data Flow Task control.

The solution to this problem is to set the alwaysusedefacodecodepage attribute of the Source control (such as ole db Source) to true.

However, I found in my experiment that setting the Properties window on the right side of Visual Studio IDE does not work. Right-click the OLE DB Source control and Click Show Advanced Editor...

 

 

After this setting, the problem is solved.

In the pop-up window, select Component Properties and set the attribute alwaysusedefacodecodepage to true. The value of DefaultCodePage should also be 936.

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.