ssis

Override SSIS configuration setting on command line?

Hi everyone, I'm trying to run an SSIS package from the SQL Server Management Studio, and am having trouble overriding a configuration setting. In my case, it's the location of a flat file. The command I'm using is: declare @returncode INT exec @returncode = xp_cmdshell 'dtexec /SQL "\ImportData" /SERVER "myserver" /CONNECTION ...

SSIS - How to set 'RowDelimiter' and 'HeaderRowDelimiter' from XML configuration file?

Hi, I want to be able to configure the 'RowDelimiter' and 'HeaderRowDelimiter' values used by my Flat File Connection Manager using my XML configuration file. I've used XML config files with SSIS packages many times without any problems, and so I know my config file is correctly formatted and is being picked up by my package, but the p...

How to prevent CAST errors on SSIS ?

Hello, The question Is it possible to ask SSIS to cast a value and return NULL in case the cast is not allowed instead of throwing an error ? My environment I'm using Visual Studio 2005 and Sql Server 2005 on Windows Server 2003. The general context Just in case you're curious, here is my use case. I have to store data coming from ...

How to add rows using SSIS 2008 Script Component during transform?

I have a SSIS 2008 script component which is setup as a transform (so it has an input and output), and what I want to do is take 1 row in an input and optionally output multiple rows. In 2005 there was the AddRow and CreateNewOutputRows methods but those seem not to be available in 2008. So how do I add rows during the transformation? ...

SSIS send mail task

Due to security policy my client is planning to stop the SQL mail service on the server, in that case will my SSIS mail task work? Thanks. ...

is it possible to set specific file extensions as exclusive check out only, with TFS

It seems that concurrent edits of certain file types (dtsx in my case) is just more hassle than it's worth. How can I configure TFS (hopefully at the server, but at the client if necessary) such that certain file types are checked out as exclusive, while continuing to allow concurrent edits on "simpler" files, like .cs. ...

SQL Server - CAST AND DIVIDE

DECLARE @table table(XYZ VARCHAR(8) , id int) INSERT INTO @table SELECT '4000', 1 UNION ALL SELECT '3.123', 2 UNION ALL SELECT '7.0', 3 UNION ALL SELECT '80000', 4 UNION ALL SELECT NULL, 5 Query: SELECT CASE WHEN PATINDEX('^[0-9]{1,5}[\.][0-9]{1,3}$', XYZ) = 0 THEN XYZ WHEN PATINDEX('^[0-9]{1,8}$',XYZ) = 0 THEN CAS...

SSIS flat file insertion failure to rollback

I have simple SSIS package which reads data from flat file and insert into SQL database. The file has 90K rows and sometimes because of bad data package fails but it insert the partial records before it fails. What I need is if insertion fails at any time between, no records should be inserted into DB, rollback everything. how can I put ...

SSIS package deployment on SQL server 2005

I followed steps for package deployment on SQL given in MSDN and it was successful. But on deployment where I can see my package and I can schedule it? ...

Can not connect to SSIS access denied

I am facing an issue while connecting to SSIS thru Mangament studio. I'm able to connect to SQL engine, Analysis services but not able to connect to SSIS. I use windows authentication. I tried steps given at http://msdn.microsoft.com/en-us/library/aa337083(SQL.90).aspx but no help. On one of the forum I saw that one needs to restart the ...

SSIS tutorial PDF file

Can anyone provide me link for SSIS tutorial ? pdf or any ? ...

SSIS - Limiting Concurrent Connections

Hi Folks, I am using SSIS to connect to a legecy mainframe database and this allows only 5 concurrent connections at a time. I have a dataflow task with many tables to transfer and it kicks outs because of this limitation. I have split up the Data Flow task into seperate data flows and this is working for the moment, but it is not optiom...

Integration Services Throws an Error Reading Access 2007 Table

[Participant Table [1994]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "I:\My Documents\Flamm Consulting\Migrations.accdb" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireC...

Syntax Error in showing Error Description

What is the correct Syntax to be applied for "@[System::ErrorDescription]" inside the query like "INSERT" ? I am unable to retrieve the correct Error Description inside the table, as the result in the table is showing as "@[System::ErrorDescription]". I am not getting the result ! ...

Configure SSIS logging to log in one file

I know configuring the logging for individual packages thru BIDS. But the drawback I see here is I have to add connectionstring for each tasks and when I have to deplloy these packages on server I have to change log file connectionstring for all packages. Currently I have 32 pacakes and this seems to be time consuming. Is there any way ...

SSIS Send Mail task limited to 255 characters in address?

Is this a bug, or some hidden limit I can't find any documentation about? When creating a Send Mail Task in SSIS 2008, the TO, CC and BCC fields seem to have a hidden limit of 255 characters. I'm aware this is the standard limit for individual email addresses, but all three are commonly used for multiple addresses and the comment for the...

How to parameterize database connection string in ssis package

Hi all, I have a SSIS package built in Business Intellegience Development Studio which have both source and destination database specified. Now I want to use some variables to parameterize the database connections and run the package in a command line. I try to replace the database name and sql server instance with my variable @[User::...

Best way XML File handling bullet point •

For an XML file I am creating I have data that contains a bullet • what is the best method for handling this in xml data? It opens in an XML editor and reads fine, but I cannot import the file via SSIS, I get an error regarding this point. <xmldata>• Bullet</xmldata> Renders fine, but cannot import with SSIS. ...

SSIS send mail for errors

How can I send emails with error details if there is any error in package execution? Basically how can I get error details and put them in Message of Send mail task? ...

SSIS oledb destination property OpenRowSet

What is significance of OpenRowSet property of oledb destination control in SSIS? My SQL admin has declared a new policy in which he says "Applications which use OpenRowset queries will not function." so I'm concerned about this whether my packages will work or not. Please advice. ...