Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Dynamic connection strings in SSIS package

$
0
0

Hi,

    I am new to SSIS. I have requirement like below:

credentials required for connection string are placed in tableConfigInfo on one server containing columns-server name, Database name, username and password 
so when i
execute the package for eg if there are 4 server names in the tableConfigInfo, all 4 servers needs to be connected dynamically without stopping the execution.

CREATE TABLE ConfigInfo
(
	ServerName VARCHAR(100),
	DataBaseName VARCHAR(100),
	UserName VARCHAR(50),
	Pwd VARCHAR(50)
)
GO
INSERT INTO ConfigInfo('10.6.16.197','SNNew','sa','sh1234')
GO

     I tried but I am unable to create like that. Can any body help me out by giving an example on this. How can i create a package to take configuration values from SQL Server Table.

Thanks,

Vijay



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>