Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling DTS Package From a Stored Procedure
Message
De
14/02/2000 17:06:09
 
 
À
13/02/2000 16:09:30
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00330588
Message ID:
00331952
Vues:
14
>> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform