DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
SITE SEARCH SQLUSA.com HEADLINES NEWS
SQL E/BOOKS   SQL 2014 PROGRAMMING   DOWNLOADS
SCRIPTS SQL 2005 SQL 2008 ARTICLES
SQL JOBS TWITTER FORMAT VIDEOS
How to pass encrypted password to DTSRUN?

If you use unencrypted password in command shell execution of DTSRUN, you violate security. Here is the alternative:

DTSRUN /Sserver_name /Uuser_nName /~Ppassword /Npackage_name /~Mpackage_password

A tilde (~) character after the forward slash (for example, /~P) indicates that the parameter value is encrypted and what follows is the hexadecimal text of the encrypted value. Where do you get the password encrypted? SQL server has an undocumented function for that.

 

Exam Prep 70-461
Exam 70-461
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE