ssis

SSIS Inserts 0 as a value in an identity column

Hi, we have this problem : in sqlserver 2005/2008 we create some new tables with an integer identity column as the primary key : [Id] [int] IDENTITY(1,1) NOT NULL. When loading data in this table via an SSIS dataflow task, SSIS should automatically fill the Id column. It does, BUT it starts at 0 in stead of 1. After that, when we delete...

SSIS - Bulk Update at Database Field Level

Hello, Here's our mission: Receive files from clients. Each file contains anywhere from 1 to 1,000,000 records. Records are loaded to a staging area and business-rule validation is applied. Valid records are then pumped into an OLTP database in a batch fashion, with the following rules: If record does not exist (we have a key, so th...

SSIS script task pre-compile script into binary code set to false

If I set pre-compile script into binary code to true I get error saying "The task is configured to pre-compile the script, but binary code is not found." If I set this property to False then it works. Will it be a problem after I deploy package on production server? Please advice. ...

SSIS global variable

Is there anything similar to global variable in SSIS? I have 4 variables (FromAddress, ToAddress,...) which will be used in all packages (32). So if I can set them only once it will be very easy to use in all packages and will save my time. Please advise. ...

SSIS task failed event handler

Is there any way in SSIS to identify which particular task has failed? My requirement is on file source task failure I need to send an email. ...

What is SSIS order of data transformation component method calls

I am working on a custom data transformation component. I'm using NUnit and NMock2 to test as I code. Testing and getting the custom UI and other features right is a huge pain, in part because I can't find any documentation about the order in which SSIS invokes methods on the component at design time as well as runtime. I can correct t...

Visual Studio and SQL Server - correct installation sequence?

I am rebuilding my development machine. This issue is not new to me, but I don't remember the solution. I started with SQL 2008 Developer, then VS 2008 Pro, then the SQL SP1, then VS SP1. The result is that I cannot open SSIS projects (see the error below). What is the correct order so that I can avoid the installation of SQL Server Expr...

Using SQL Server Intergration Services (SSIS) can you read a file from a FileStream column in SQL Server 2008?

I am trying to create a tool that I can upload different types of files "csv", Excel, XML and load those files into a FileStream column in the database as "Source" untouched over the web. Then using SSIS on the server I want to create a package that will process that file to be loaded into other tables to be used by the web application....

How do I tweak columns in a Flat File Destination in SSIS?

I have an OLE DB Data source and a Flat File Destination in the Data Flow of my SSIS Project. The goal is simply to pump data into a text file, and it does that. Where I'm having problems is with the formatting. I need to be able to rtrim() a couple of columns to remove trailing spaces, and I have a couple more that need their leading...

SSIS File exist check without script task

Is there any way to check if file exist without script task? May be foreach loop container or something else.. ...

SSIS to copy data from one table to another, where not in destination table

I'm in the process of creating an SSIS package on a server (server1) that looks at the data in a sql db on another site (server2) and copies relevant rows across. The SQL statement required is: SELECT * FROM server2.ordersTable WHERE OrderID Not In (SELECT OrderID FROM server1.ordersTable This selects data from server1 which isn't in...

Does anyone know of an easy way to get Integration services designs into Visio?

I'd like to be able to work with the discrete tasks (i.e. move the script task separately from the data flow task). If there is an SSIS stencil for Visio that would be great. ...

SSIS process files from folder

Background: I've a folder that gets pumped with files continuously. My SSIS package needs to process the files and delete them. The SSIS package is scheduled to run once every minute. I'm picking up the files in ascending order of file creation time. I'm building an array of files and then processing-deleting them one at a time. Proble...

Why doesn't SSIS ftp task receive file?

I'm running an FTP task inside of SSIS to receive a file and the task executes successfully yet no file is returned to the local folder that I specified. Where did the file go? How can I make the FTP task download a file to the location that I need it at? ...

SSIS Package deployed - Fails when executed from schedule

I've deployed a SSIS package to my SQL server. I can run the package fine by connecting to Integration Services in SSMS and right clicking on it and choosing "Run Package" However, if I schedule the package, it fails. It tells me to check the logs for information on why, but there is nothing in there... Any ideas? (this is my first SS...

Best Practise to populate Fact and Dimension Tables from Transactional Flat DB

Hi! I want to populate a star schema / cube in SSIS / SSAS. I prepared all my dimension tables and my fact table, primary keys etc. The source is a 'flat' (item level) table and my problem is now how to split it up and get it from one into the respective tables. I did a fair bit of googling but couldn't find a satisfying solution to...

Recordset manipulation in SSIS

In my SSIS job, I have a need to accumulate a set of rows and commit them all transitionally when processing has completed successfully. If this was pure SQL, I would use a temp table inside a transaction. In SSIS there are a number of issues complicating this. It's difficult to have multiple components share the same transaction and hav...

SSIS how to set connection string dynamically from a config file

Hi, I am using sql server integration services(SSIS) in sql server business intelligent devolopment studio. I need to do a task --that is. I have to read from a source database and put it into a destination flat file.But the same time the source databse should be configurable. That means in the Oledbconnection manager connection str...

Run SSIS package from SQL client

I deployed my working package on server which is enterprise edition, SSIS installed on it. When I tries to run package by connecting to integration services engine from my desktop SQL client (which doesn't have SSIS installed) I get error "The task "Send Mail Task" cannot run on this edition of Integration Services. It requires a higher ...

what does .database file used for in SSIS solution

Hi all, What does the .databse file used for in a SSIS package? Thanks in advance! ...