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 VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
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
SQL 2016 DESIGN & PROGRAMMING
 
 
 
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