Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling DTS Package From a Stored Procedure
Message
From
14/02/2000 17:06:09
 
 
To
13/02/2000 16:09:30
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00330588
Message ID:
00331952
Views:
15
>> I can execute DTSRUN from a DOS shell just fine.

>> But when I run it from Transact SQL or from a stored procedure, it runs wiht no errors, but no records get appended. I use the no-output clause with xp_cmdshell. Any ideas out there??

When you run the package with DTSRUN, the package is being run on the machine that you're currently logged into. When you use TSQL or a stored procedure, the package is being run on the server under the permissions assigned to the SQLServer service account.

Also, maybe there's a trigger causing the transaction to be rolled-back. Configure the package and datapump to capture error messages to a file.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform