The step output column sequence in the SSIS execution variable is different from the SQL query column sequence.

Source: Internet
Author: User
Tags ssis
This problem was encountered by a friend who made an SSIS program to import data to txt. Then, use Oracle tools to import data to Oracle. However, when performing the variable step in SSIS, we can find the output column name and the queried column name.

This problem was encountered by a friend who made an SSIS program to import data to txt. Then, use Oracle tools to import data to Oracle. However, when performing the variable step in SSIS, we can find the output column name and the queried column name.

This problem was also mentioned in a Blog later: The SSIS series-variable query statement causes inconsistent column output sequence.

You can use the following method:

The solution requires manual operations, but it is much easier to delete new columns in the File Manager. To return to the data source column, cancel all available columns first.

Then, select the required columns in sequence based on the query statement column sequence. For example, check BusinessEntityID first and NationalIDNumber second, and then select the columns in sequence as needed.

After the selection is complete, all columns are output in the query order.

You need to re-create a new file link manager to avoid the impact of the previous cache. Then you can see that the column order in the Manager is consistent and there is no problem.

This article is from the "follow SQL Server Technology" blog. Be sure to keep this source

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.