36 questions
0
votes
1
answer
54
views
Insert into DB2 database from SQL server using SSIS
I want to insert into DB2 Database from SQL server using SSIS. The insert should happen multiple times in a day. Approximately need to insert 1 million records and needs to inserted short span. Tried ...
1
vote
1
answer
41
views
SSIS Conditional split triggering wrong script component PostExecute method
I have a SSIS package that is being developed in Visual Studio 2022 targeting SQL Server 2019 and I have a weird problem.
I have a data flow that refreshes a bearer token meaning it retrieves the ...
0
votes
0
answers
53
views
Possible reasons for an SSIS conditional split into the same destination table?
I've been given the unenviable task documenting the catalogue ingest process of our data warehouse. All was going well until the end where I came across the use of a conditional split inside of an ...
1
vote
1
answer
624
views
How to remove specific rows from data in SSIS
I am working on a SSIS package.
I have imported data from multiple sources.
Then I used UnionAll to combine the data.
I have an XML file, this file contains the rows that I have to remove. There is ...
0
votes
0
answers
20
views
Can we store just a clause of a WHERE condition into a variable in SSIS?
I want to change the clause of my where condition dynamically from the config file. So if I store the clause into a variable I can do it, I am not able to figure out how.... Need a solution for this
I ...
1
vote
1
answer
269
views
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 ...
1
vote
1
answer
1k
views
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 ...
4
votes
2
answers
5k
views
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 ...
0
votes
0
answers
424
views
Using a variable as the input for a Conditional Split control
Might be going about this completely the wrong way - happy to be shown the error of my ways.
In a nutshell, I've got 50-odd files of mixed types (csv and excel) that I want to import (each file to its ...
0
votes
1
answer
362
views
What is wrong with my Conditional Split in SSIS?
I have created an SSIS package which extracts data from an Excel file and outputs the results into a table in my database.
As this package will be run on a daily basis, I need to extract only those ...
0
votes
0
answers
99
views
SSIS Conditional Split Not Working as Expected
I have the following Conditional Split set
Not Posted : O_Variance != 0 && O_L_Revenue_nSAP == 0
Need Investigating : O_Variance != 0 && O_L_Revenue_nSAP != 0
Posted : O_Variance == 0
...
0
votes
1
answer
2k
views
Conditional Split in SSIS - SQL
I'm quite new to SQL Databases, but I'm trying to add a Conditional Split in my Data Flow between my Flat File Source and OLE DB Database to exclude records containing some special characters such as ...
3
votes
5
answers
1k
views
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(...
1
vote
2
answers
1k
views
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 ...
3
votes
1
answer
218
views
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
...
1
vote
2
answers
479
views
Is there a way to stop a conditional split after a certain date?
I have an SSIS package with a conditional split that essentially checks if one number is bigger than another.
The number is actually a financial period but this is stored as an int in a "yyyymm" ...
4
votes
1
answer
1k
views
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 ...
0
votes
0
answers
27
views
I'm having a problem when entering an expression IN SSIS Conditional split task. All the Columns are Varchar
Conditional Split Expression:
REPLACENULL(AddressLine1Txt,"") != REPLACENULL(OldAddressLine1Txt_1,"") ||
REPLACENULL(AddressLine2Txt,"") != REPLACENULL(OldAddressLine2Txt_1,"") ||
REPLACENULL(...
2
votes
1
answer
997
views
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 ...
2
votes
2
answers
323
views
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 ...
0
votes
1
answer
331
views
ssis conditional split not executing all conditions
In the SSIS I have the conditions seen in the image. When I run the package all conditions process except the ActivityChange. If I run the package again Activity Change is executed. Both ...
0
votes
1
answer
66
views
Adding condition in conditional split
I am trying to follow the process below to transform data from flat file to DB.
I also have an update_dt_tm column in the source. I need to put a condition that if updt_dt_tm is between last 10 mints ...
0
votes
2
answers
46
views
ConvertRowsTocolumns Using SSIS
I have to extract data from Flat files and load into a staging database
ex: I have this flat file without column header and i would like to get each row into a seperate column
Text file data: This ...
2
votes
1
answer
965
views
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 ...
0
votes
1
answer
72
views
Combine 2 Conditional Split Cases into 1
I have 1 SSIS Conditional Split with 2 conditions, which I need to combine. Both conditions are looking for the same date.
[DateFinished] > (DT_DBTIMESTAMP)"2016-09-01"
[DateTBFinish] > (...
-1
votes
1
answer
615
views
SSIS Conditional Split to Flat File Destinations
I've got a data flow task which has a conditional split which then leads to two different flat file destination. The thing that is puzzling me, is why do I have different 'available destination ...
0
votes
1
answer
771
views
SSIS condition to replace #Name? and display no value
When I run my SSIS package, I receive a #Name? in a column cells where no value is present, so I created a Conditional Split using the following condition, ISNULL(columnname) || LEN(columnname) == 0.
...
1
vote
1
answer
3k
views
Why can't I escape double quote characters in SSIS Expression Builder?
I am trying to add a condition to a Conditional Split Transformation in SSIS but the double quote character at the start of a string in the condition is throwing an error.
Here is my condition:
(...
0
votes
0
answers
380
views
How to define the "breaks" to classify a raster data
First time posting a question here. Useless times this forum helped, but now, I fell my R skills are not strong enough to do the job.
My problem is: I have a Spatial Data frame with multiples ...
0
votes
1
answer
2k
views
R Replace <NA> with date, if other columns value is
Let's say I have two columns, one of location and one of dates, some of which are missing.
City Date
1 Sheffield 19/05/1985
2 Sheffield 21/06/1986
3 Sheffield <NA>
4 ...
3
votes
1
answer
875
views
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 ...
4
votes
3
answers
3k
views
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 ...
5
votes
2
answers
5k
views
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 ...
1
vote
1
answer
6k
views
SSIS Conditional Split NULL handling
I am trying to update records from an SSIS conditional split to destinations after comparing them but I am stuck on NULL values.
I have a source table with 128 columns that needs to be compared to ...
4
votes
1
answer
2k
views
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 ...
3
votes
1
answer
2k
views
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 ...