Data Warehouse Construction (1)

Source: Internet
Author: User
Tags ssis

The following prompt is displayed during package execution today:

[Distribution Center 1 [1781] error: the output column "rebate" (1792) on "ole db source output" (1807) has an error. The returned column status is: "The text is truncated, or one or more characters are in the targetCodeThere is no match in the page .".

At first, I thought that some steps in the process set the Data Type incorrectly, but this was not solved after repeated debugging.

There are too few SSIS-related materials, and no reason is found on the Internet at noon.

 

Therefore, the smallest unit method is used for gradual debugging.

After removing the intermediate link, the error persists.

Change the target source to a text file, so that the target source does not have data overflow problems, and the error persists.

The Data Length of the target source and target columns is changed to 1000. Change the data type with multiple errors.

Suddenly the ghost machine moves and does not output the results. Only two processes are retained, source output and sorting. Because sorting is irrelevant to the data type, this step will certainly pass, otherwise it will be a problem of source output.

Indeed, if the sorting process fails to be executed, the process stops in the first step. It is determined that it is a problem of source output.

Now we use the "ole db source" and try to change it to the "ado net source". Haha, it passed.

 

I really don't understand SSIs. I used the "ado net source" for the output source a few days ago, but the error always occurred. So I changed it to "OLE DB source ". Today, I reversed it. The "OLE DB source" is not working. It seems that there is still a lack of in-depth understanding.

 

 

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.