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

Teradata connectivity using Script task

$
0
0

<

I am using a script task to connect to Teradata ADO.net connection.  Tthe password is passed dynamically from the Configuration File.  I have defined a Teradata ADO.net connection.  Then I declared a variable and assigned the value as the name of the ADO.net connection.  I am using this variable in the Script task:

string connectionStringListLoadADO = Dts.Variables["User::gvTeradataADO"].Value.ToString();

string conString = Dts.Connections[connectionStringTeradataADO].ConnectionString

The connectionString is retrieving everything except the password.  The password needs to be pulled dynamically from the dtsconfig file.  I have also set Delay Validation =Ture for the ssis pkg.

The value of connectionStringTeradataADO should have been "Data Source=servername;User Id=testusr;Password=testpwd;Persist Security Info=True;"

But I can only see : 

"Data Source=servername;User Id=testusr;Persist Security Info=True;"

Any help is appreciated.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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