Questions tagged [conditional-split]

SSIS DataFlow Task Transformation component, used to split data based on specific conditions. It is similar to a `SELECT CASE`

"The Conditional Split transformation can route data rows to different outputs depending on the content of the data. The implementation of the Conditional Split transformation is similar to a CASE decision structure in a programming language. The transformation evaluates expressions, and based on the results, directs the data row to the specified output. This transformation also provides a default output, so that if a row matches no expression it is directed to the default output." ...more in this MSDN article

33 questions
4
votes
1 answer

Unable to use rowcount and conditional split in same data flow task

In SSIS,I want to split the data after lookup based on whether any no match record is found or not .IF no match record has atleast 1 row or count it should process certain action. I used row count and then conditional split for the same i..e used…
cheers519
  • 445
  • 6
  • 18
4
votes
3 answers

SSIS Conditional Split Lineage Error

I'm trying to run an Excel table through an SSIS Package and 3 nodes in, it has a Conditional Split. I'm using a previously known working spreadsheet with some data added to it. The error I'm getting specifically is: Conditional Split.Inputs[Split…
Tyler C
  • 573
  • 5
  • 17
4
votes
2 answers

How to compare two GUIDs in SSIS Conditional Split?

I have seen this question and I tried what it suggested, but without any success (see Attempt 1 below). I have tried the below conditions in my Conditional Split without success. I have checked that records exist prior to the conditional split that…
Tim Hutchison
  • 3,483
  • 9
  • 40
  • 76
3
votes
1 answer

SSIS Conditional Split Error - The expression evaluated to NULL, but the "Conditional Split" requires a Boolean results

It is my first time using this software. I am trying to split the value but it is showing this and I do not have any null have when I see my source but when I preview it, it shows null value in the first 200 columns but I have only 15…
3
votes
5 answers

SSIS Expression to handle NULLs in multiple columns

I have an OLE DB source that has some nulls, it has 50 columns and I'm trying to extract the rows that have NULLs to Bad data destination, the expression that I had for the conditional split is ISNULL([StudentName]) == TRUE But that means I have to…
3
votes
1 answer

Use query as conditional split expression in SSIS

How to use the query below in conditional split , nxdt is a date column; it has values like 11/30/0002 00:00:00.000000. Hence used below query to filter out and need to use the same in my package SELECT * FROM VLCVehicle WHERE DATEPART(year,…
3
votes
1 answer

Combining 2 date fields for a conditional split

I am new to SSIS, so please excuse me if need to clarify my problem. We have 2 date columns, Release Date and Approved Draft Release Date. Currently, when a date is manually entered into the Release Date column field, a SSIS package populates the…
David F
  • 265
  • 2
  • 14
3
votes
1 answer

SSIS Condition split based on column value

Good Day All, I have a select query where i pull the data from sql ie select invno , date_received from sales What i want to do is split the file into multiple files using conditional split. I don't know how to set the condition i tried as…
3
votes
1 answer

SSIS conditional split - condition setting

It's one of my practice stuff, setting the condition to split the scariness of rollercoasters. However, it didn't work properly as it did not split the default output which is set as "Not scary". I think something wrong with my second condition, but…
Lancer Xue
  • 118
  • 2
  • 9
2
votes
1 answer

Filtering data values in one column based on another column and then inserting values into different columns in same SQL Table

This is a bit of a conundrum I am trying to solve using SSIS and a conditional-split transformation. I have a .csv file that contains attribute data in one row for each unique user and the values for each attribute in another column.…
ManMadeNova
  • 57
  • 2
  • 14
2
votes
2 answers

SSIS: Conditional Split in C#

The flow I have to implement does the conditional splitting according to the last two characters of a column value. For code-maintenance and performance reasons, I need to do the splitting in C#. How can I code it? I am OK with the collection part…
Bruno C
  • 199
  • 13
2
votes
1 answer

How can I make an SSIS Conditional Split task fail the process if rows are sent to default output

I have a Conditional Split task in my workflow which directs the data to one of three different destinations. All my data should go to one of these three destinations. If there is data that does not conform to this rule it should cause the process…
Hoppy
  • 720
  • 2
  • 12
  • 24
1
vote
1 answer

SSIS - send different emails to employees depending on employee situation

I'm fairly new to SSIS. I have a pretty complex SQL query (that I don't want to replicate & maintain 3 times), whose result is a table with 2 columns: emailAddress, formLetterNumber What I want to do is for each row returned: if formLetterNumber…
Kristy JN
  • 13
  • 4
1
vote
1 answer

SSIS Conditional Split Error - The data type DT_BYTES cannot be used with binary operator "=="

While configuring a conditional split component with the following expression: [VersionStamp_Source] == (DT_I8)[VersionStamp_Destination] I am getting the following error: The data type DT_BYTES cannot be used with binary operator…
Gidda
  • 25
  • 6
1
vote
2 answers

SSIS query with rowcount conditional split writes 0 rows

I have an OLE DB source with a simple query that writes a flat csv file to the network. If I do only that, row(s) are written from the source to the file fine. But, I only want to do that if there are more than 0 rows. So, I added a variable…
Janet Barnett
  • 111
  • 1
  • 7
1
2 3