No matching data found in SSISLookup

Source: Internet
Author: User
The user has a function to update table data using txt, which is implemented using lookup. Step: 1. txt file of the loop folder 2. use Lookup to compare all the data in the cache target table with the txt data. 3. if there is match data, use txt to update the target table, but the data for each Match is 0, and txt does have matched data. Flipped through

The user has a function to update table data using txt, which is implemented using lookup. Step: 1. txt file of the loop folder 2. use Lookup to compare all the data in the cache target table with the txt data. 3. if there is match data, use txt to update the target table, but the data for each Match is 0, and txt does have matched data. Flipped through

The user has a function to update table data using txt, which is implemented using lookup. steps:

1. txt files in the cyclic folder

2. Use Lookup to cache all target table data and compare txt data with target table data.

3. Use txt to update the target table if match data exists.

However, the data for each Match is 0, and the txt file does contain matched data. After turning over Microsoft's BOL, one sentence is very important:

If there are multiple matches in the reference table, the Lookup transformation returns only the first match returned by the lookup query. if multiple matches are found, the Lookup transformation generates an error or warning only when the transformation has been configured to load all the reference dataset into the cache. in this case, the Lookup transformation generates a warning when the transformation detects multiple matches as the transformation fills the cache.

Later, I checked that all records in my records were repeated. Because I chose the "Redirect rows to no match output" method to handle errors, the data was Not match.

Then try to delete the duplicate data. This problem is rarely encountered because most applications are in the data warehouse and all dimensions are one.

Another thing to note is that Lookup is case sensitive and should be noted when processing data with characters.

In addition, this function can also be implemented by using the previous component that handles slow change dimensions.

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.