Brett Barabash
BBarabash at TappeConstruction.com
Tue Aug 17 12:02:19 CDT 2004
Lonnie, I normally use DTS run from xp_cmdshell: EXEC master..xp_cmdshell 'dtsrun /S <servername> /E /N "<DTS Package Name>" /A <ParamName>=<ParamValue>', NO_OUTPUT Notes: /E indicates use trusted connection. Alternatively you can user /U <username> /P <password> for SQL Server security. /A is used for setting global variable values I use the NO_OUTPUT option when executing this from a SQL Server sp, because ADO mistakes the console output for an error message. Type dtsrun /? from the server's command window (or master..xpcmdshell 'dtsrun /?' from a query window) for help on all the switches, or look it up in books online. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 17, 2004 11:19 AM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Pass Through to DTS package Does anyone know if you can send instructions via a pass though query to start a SQL Sever 2000 DTS package? Anxiously awaiting May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software.