SSIS error message solution 1 (string type mismatch)

Source: Internet
Author: User
Tags ole ssis

String Type Mismatch

Error message:

[Local HR data [2] error: There was an error with local HR data. outputs [ole db source output]. columns [divisionc] on local HR data. outputs [ole db source output]. the column status returned was: "text was truncated or one or more characters had no match in the target code page. ".

Truncation at Division. The string type of divisionc does not match

Solution:

Modify the string type of a field:

(1) Change the data type to nvachar type before editing the data source --------- note: the string length must be consistent.

 

 

 

(2) In advanced editing, change the problematic field type to Unicode string (nvarchar type ).

(3) In the data conversion control, modify the conversion string type and modify: Data Type -- string code page ---- 936.

(4) modify the name of the error string in ole db command

(5) In ole db distination, modify the name of the error field

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.