ssis

Shared Data Sources vs. OLE DB Connections In SSIS

I've been using Shared Data Sources in all of my SSIS projects because I thought it was a "best practice". However, now that everything is under source control (TFS) just about every time I open a package it updates the Data Source connection in the package. I either have to roll the change back or check it in with some nonsense descri...

Exporting to multiple worksheets using SSIS

I'm just starting out in SSIS, and I was just wondering if it's quite straightforward to use 2 SQL queries to create 2 worksheets in 1 workbook using SSIS, or whether I should suggest another way to produce the data. ...

select data from excel spreadsheet that's read only

I've got a dtsx package that selects data from an excel spreadsheet on the network and inserts it into a sql server table twice a day. However, the process fails if someone is in the spreadsheet modifying data. Is there a way to select data from an excel spreadsheet so that it doesn't fail if someone is in the spreadsheet? ...

ftp process is not working properly

I have a ssis package that does the following copies a file from an ftp to a folder. overwrite if it exists copy data to sql db delete file from ftp i have send email task if the ftp fails. Scheduled this ssis in jobs. I created a 2MB test file and ran the job. Works perfect! now tried with a 500 MB file in the ftp. Works pefect w...

SSIS bulk insert into a single table concurrently

I have a SSIS package with a task to load an out-of-process application to bulk-insert data into one table. The problem is that multiple out-of-process applications will run when multiple files arrive at the same time. This will result in insertion failure. Can SQL Server Broker Service queue the inserting data? Does SQL Server or SS...

download xml files from 3 different directory of a ftp server to a local system by using ssis.

Hi, I am new to ssis and my question There are 3 different locations of a ftp server(c:\temp1\,c:\temp2\,c:\temp3) and I have to check all the three locations and if any xml files exist then I have to download to my local working directory(c:\workingxml) in a specific time let's say within 4 A.M. to 8 A.M. and after 8A.M.the 3 differe...

Passing Variable in SSIS

Hi Everyone, I need some help to pass row value to the other task in SSIS package.here is my sample query select distinct txnno from tbltxn, what I need is to get distinct txnno from this qurey and delete records from other table based on this txnno. I think we can pick txxno in some variable in a foreach in a container and pass that r...

Look up to get not matched records with source and target fileds having nulls

Hi All I am developing a dimension table, the requiremnet is to insert all possible unique combinations of source attribute. step1: I took source with row_number() functions to get the duplicate records as row number step2: conditional split used to take onlt row == 1 so I am taking all uniqe possible records from source in the initia...

SSIS and SQLite

hey guys i want to use a ssis task to generate daily sqlite dbs... the ssis job exports large amounts of data to sqlite. the problem i am facing is ssis opens and closes a transaction for every insert making this task painfully slow is there a way i can instruct ssis to open a transaction at the beginning of the task, perform thousands...

SSIS adding an existed pacakge actually added an identical copy

I try to add an existed package to a SSIS project using Visual Studio. But it turns out the tool copies the package to a new package and name it as original name plus an incremented number first and then attach the package to the project. I know I miss some settings. But I could not find out what prevents the original package from att...

SSIS Web Service Task: "Index was outside the bounds of the array" Error when accessing empty array.

I'm trying to connect to a webservice and pull in some data using the webservice task in SSIS 2005. I am able to download the WSDL file and I'm able to see the methods in the Webservice Task. I provide the necessary parameters through variables (I've even tried hardcoding the parameters). However, when I execute the task I keep getting t...

SSIS 2005 - Export Data into an Excel 2007 Table

Hello ! I have an excel file (xlsx) containing a table : Once I launched my ssis task (successfully) to insert data in it, it is actually append after the table : My expected result: So I am looking for a way to insert into the table and expand it with the data. I hope someone could help me. Thank you ! ...

SSIS Dataflow - conditional split

SSIS Hello. Firstly excuse me if this doesn’t make a lot of sense as I’m fairly (as in 2 days ago) new to SSIS. Ultimately I’m looking to import all data from an XML file and depending on what kind of file it is process in a different way and load to a set of relational tables in a Microsoft SQL Server 2008. Each XML file has a Boo...

What's the best tool for data integration

Hello. I'm looking the best tool for data integration. I need the following features: Customized loading/matching and clearing of data from different sources (including MSSQL Server, PostgreSQL, WebServices, Excel, text files in various formats). The receiver of data is MSSQL Server 2008. Ability to configure rules of data convertation...

SSIS Flat File Unpivot

Hello, I have a rather complex Flat File that I'm trying to parse using SSIS. The overall structure of the flat file is as follows: CustomerName, CustomerAddress, CustomerContactInfo, InvoiceDate1, InvoiceAmount1, InvoiceDate2, InvoiceAmount2, InvoiceDate3, InvoiceAmount3 I'm trying to load this into two tables in my database, a Cust...

enforcing data types in SSIS package

I have a SSIS package that imports data from an excel file. One of the columns has mostly numbers (like 12345) but some also have letters (like 123A5) When i configure the package i can't change the format and it's always recognized as double (probably it only looks at the first lines) . How can i enforce my own data type , so that it ...

SSIS set result set from of data flow to variable

Hello. Before I give myself some sort of stress related heart attack. Would anyone know how to complete the seemingly simply task of setting the result set of one data flow task (the result will be either a 0 or 1) and assigning that value to a variable. I've created the variable ok. The result set comes from an XML file with mult...

Retain The Order while Insert Rows

I put a sort component to sort my data. and the data was sorted. but my destination table is unordered! How can retain the Order of sorted rows while Inserting them into sql Table with ssis? ...

SSIS Data Migration/Daily copy: Parent + Child then many Grandchild tables

Hi, I've read this link here, but this guy is doing a one off copy from 1st normal form to 3rd, so that's not what I'm doing: StackOverflowPosting I am going from 3rd normal form to 3rd normal form, pretty much the same design, on a daily basis, only copying hte new data. Example Data Parent ParentId Created Date Child ChildId ...

Calling As400 procedure in SSIS

HI All, I have created one simple stored procedure in AS400. It has only one input parameter and I compiled and created it successfully. Now I need to call this procedure in SSIS to move data from source to destination. Here my source is As400 procedure and destination is Sql server table.I have goggled lot to find how to call the proc...