SORT to remove duplicates does not work
I am using a sort task to remove duplicates, however when it writes to the database I believe it is adding the rows from the duplicates and not subtracting the rows. I am reading data from a table,...
View ArticleReading Excel Cells and converting it into text file
Hi All,I have a requirement in which the task is to read data from .xls file and put it into a text file. The SSIS should read data from Excel cell A:4 to L:15. Only the data highlighted in Yellow...
View ArticleGet error from SQL AGENT: The SSIS Runtime has failed to enlist the OLE DB...
I am running SQL Agent that executes an SSIS process from sql server1. The SSIS process executes its SQL/tables/sp’s against another sql server2.I get an error after adding data flow tasks with...
View ArticleORA-00904 Invalid Identifier error
Good Morning All,I have a small sql code that works fine in sql developer, but when i'm using it to load data (source Oracle db), destination (SQL Server). Its giving the error ORA-00904 Invalid...
View ArticleMSORA and MSTERA data sources missing in Visual Studio 2012 / SQL Server 2014
Hi,I'm building a brand new SQL Server 2014 environment to migrate existing production to. It's a fresh build with the detailed component versions shown at the end of this post. The problem that I am...
View ArticleUnexpected Termination SSIS package - Issue with SSIS packages after...
Hello everyone. We performed an upgrade of SQL Server 2012 installation to SQL Server 2014 (with last CU5 update). We found that all SSIS packages (even the simplest with just Execute SQL tasks) fail...
View ArticleLookup transformation
Hi,I am working on a package to transfer data from database to an application. I used lookup transformation to filter match data and no match data. I've forwarded No Match data to my application so...
View ArticleLoop through excel file sheets in ssis
HI..I have one excel file which is having dimensions meta data info in each sheet (One dimension info in each sheet) with same format. Sheet name having the dimension name.Now, i want to access these...
View ArticleIncrement variable in Script Task
I have a variable called varChangeVersion of type Int32 and package level scope and a default value of 0. I am using a Script Task to increment this variable by 1 each time the SSIS package runs (line...
View ArticleUsing Union in Execute SQL Task
I am using the following SQL statement in an Excute SQL Task: declare @RespAreaSubAreaID int, @UserLevelID int, @SubmittedByUserID int, @RespAreaID int, @SubAreaID int Set @RespAreaSubAreaID = ? Set...
View ArticleExport AD columns in SSIS
I know there are a lot of topics related to this: I know about setting up an ado.net connection. I just can't seem to put together statements to do this simple export which would enable to be to...
View ArticleScript component runtime error
I have a package to update and create contacts from a database to an application. So far it is working fine. But if one of the input columns has null value it throws this error: Condition for...
View ArticleWhy are SSIS sendmail attachments read only
I am sending different attachments with my SSIS sendmails, but when I click on them they are always read only and cannot be changed as is. Is there any way to change that?
View ArticleChanging Excel Worksheet Names To Ensure Continuity
Hello, everyone!I had an SSIS package that would import the contents of a single sheet Excel file, massage the data and dump the results into a SQL table.I used an Excel Source tool to set up the...
View ArticleSSIS 2012 continuous integration using msbuild
Hi,I have an SSIS 2012 project file *.dtproj. I want to create .ispac file from a program for continuous integration. I saw posts saying we cannot do it using msbuild. What are the other options? Has...
View ArticleSend Mail Task in SSIS Weird errors
Hey there all, i am having a weird problem with the send mail task in SSIS. I have tried to different things, and i end up with two different errors: Firstly, i have setup a data dump to excel, and...
View Articlecombine text files using SSIS
I have 5 text files with name 1.txt, 2.txt, 3.txt, 4.txt and 5.txt.1.txt contains abcdef2.txt containsghijkland so on I m looking for one output file with all these files combined so my output looks...
View ArticleSSIS Order by not working
Good Morning Friends,I'm just running a package that loads data from the source into destination. The requirement is the load should be sorted. I'm using sql command and doing ORDER BY. I went to the...
View ArticleSQL Server Parameter Issue In Job
I have a SQL job that runs the exact same package three times with different configuration values connecting to different servers. On the third time the package runs I get the errorEnvironment...
View Article