which one to use conditional split or data conversion or both transformation

San 121 Reputation points
2020-12-09T07:04:22.777+00:00

My source file contains some bad data. I want to load the correct records in table A and error records in table B using conditional split or data conversion or both transformation46487-ssis.jpg

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,578 questions
0 comments No comments
{count} votes

Accepted answer
  1. Monalv-MSFT 5,901 Reputation points
    2020-12-09T10:53:15.173+00:00

    Hi @San ,

    1. If we just want to split the data into different tables, we can use Conditional Split Transformation.
      46495-cs.png
      46496-df.png
    2. If we want to get the bad data, we can use error flow redirection.
      46622-df.png
      46576-errorredirect.png

    Best Regards,
    Mona

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues in November--What can I do if my transaction log is full?
    Hot issues in November--How to convert Profiler trace into a SQL Server table?

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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