[AccessD] Pass Through to DTS package

Lonnie Johnson prodevmg at yahoo.com
Tue Aug 17 16:31:20 CDT 2004


OK,
 
I got this to run successfully but it is not actually updating my records. When I take out the NO_OUTPUT it actually says 42 records affected. But when I look in the table, they are not chaged. This is my command...
 
EXEC master..xp_cmdshell 'dtsrun /S "SQLSVR1" /E /N "TestPackage" /A ', NO_OUTPUT 
 
Can you see anything wrong?


Brett Barabash <BBarabash at tappeconstruction.com> wrote:
Lonnie,
I normally use DTS run from xp_cmdshell:

EXEC master..xp_cmdshell 'dtsrun /S /E /N "
Name>" /A 
=
', NO_OUTPUT

Notes:
/E indicates use trusted connection. Alternatively you can user /U
/P 
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.

-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



May God bless you beyond your imagination!
Lonnie Johnson
ProDev, Professional Development of MS Access Databases
Visit me at ==> http://www.prodev.us





 





		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.


More information about the AccessD mailing list