Contoh Passing Parameter ke Package SSIS yang dieksekusi melalui SQL Server Agent

Berikut ini adalah contoh passing paramter ke package SSIS sebelum package pada saat package tersebut dijalankan melalui SQL Server Agent. Set-nya dilakukan pada tab Set Value untuk SQL Server Agent job yang mengeksekusi package SSIS.

VARIABLE :
\Package.Variables[User::vConSource].Value
VALUE:
Data Source=NAMA_SERVER;Initial Catalog=NAMA_DATABASE_ASAL;User ID=sa;Password=1234;Provider=SQLNCLI10.1;

VARIABLE :
\Package.Variables[User::vCon].Value
VALUE:
Data Source=NAMA_SERVER;Initial Catalog=NAMA_DATABASE_TARGET;User ID=sa;Password=Admin1234;Provider=SQLNCLI10.1;

VARIABLE :
\Package.Variables[User::Company].Value
VALUE: NAMA_DATABASE



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s