Share via

Load data issue in ssis

Landon S 40 Reputation points
2023-10-30T02:03:30.61+00:00

I have a simple table Which contains 100+rows.

When i load the data to another sql table, it only load 30rows without any error message.

SQL Server Integration Services
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

3 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,551 Reputation points
    2023-10-30T03:26:41.04+00:00

    Hi @Landon S,

    Please first make sure that the data type is matched between the two tables.

    You can create a second OLE DB Destination and direct the red arrow from your Data Conversion task to this destination. Then choose Configure Error Output in your Data Conversion task and choose Redirect row as an option for all Errors/Truncations. So that you could see if the rest rows is in the error output.

    In addition, you may re-create a package and then re-add the component for a try.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?

    0 comments No comments

  2. Yitzhak Khabinsky 27,196 Reputation points
    2023-10-30T02:46:02.29+00:00

    Hi @Landon S,

    Please edit your question and add a screen shot of your Data Flow Task (DFT). Before that please add SSIS Data Viewer to the DFT. It will allow you to troubleshoot and explicitly see number of rows going through the SSIS pipeline.

    Check it out here: [http://binaryworld.net/blogs/use-ssis-data-viewer-dataflow-task/]

    Was this answer helpful?

    0 comments No comments

  3. Vahid Ghafarpour 23,605 Reputation points
    2023-10-30T02:34:06.06+00:00

    Check the data types of columns in the source table and the destination table. If the destination table has narrower columns than the source table, it can result in data truncation.

    Ensure the destination table's column types are compatible with the source data.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.