dbTalk Databases Forums  

Can an end user exec a DTS Package?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Can an end user exec a DTS Package? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ChrisR
 
Posts: n/a

Default Can an end user exec a DTS Package? - 08-24-2006 , 02:47 PM






SQL2K
SP4

Is there a way that an end user can exec a DTS Package from an application?
I don't want to allow them xp_cmdshell or anything like it, so Im at a bit of
a loss.

TIA, ChrisR

Reply With Quote
  #2  
Old   
Charles Kangai
 
Posts: n/a

Default RE: Can an end user exec a DTS Package? - 08-25-2006 , 08:54 AM






Use the COM based DTS library in your application to create an object of type
DTS.Package. Call its LoadFromSQLServer method to open the package saved in
SQL Server. Call its Execute method to run the package.

Charles Kangai, MCT, MCDBA



"ChrisR" wrote:

Quote:
SQL2K
SP4

Is there a way that an end user can exec a DTS Package from an application?
I don't want to allow them xp_cmdshell or anything like it, so Im at a bit of
a loss.

TIA, ChrisR

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.