dbTalk Databases Forums  

Executing DTS packages from SQL SRVR 7.0 Stored Proc

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


Discuss Executing DTS packages from SQL SRVR 7.0 Stored Proc in the microsoft.public.sqlserver.dts forum.



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

Default Executing DTS packages from SQL SRVR 7.0 Stored Proc - 10-05-2003 , 07:43 PM






HI:
does anyone know it this can be done ?
if so, can you please share the basics and maybe some
sample code

((i am also interested in executing a DTS package from
ACCESS'97))

thanks


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Executing DTS packages from SQL SRVR 7.0 Stored Proc - 10-06-2003 , 12:17 AM






1. Look at the sp_OA* stored procs or DTSRUN
2. Register the dlls and use the object model

Execution
(http://www.sqldts.com/Default.aspx?104)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"VernDegeus" <vern.degeus (AT) harley-davidson (DOT) com> wrote

Quote:
HI:
does anyone know it this can be done ?
if so, can you please share the basics and maybe some
sample code

((i am also interested in executing a DTS package from
ACCESS'97))

thanks




Reply With Quote
  #3  
Old   
Nigel Rivett
 
Posts: n/a

Default Executing DTS packages from SQL SRVR 7.0 Stored Proc - 10-06-2003 , 12:22 AM



look at dtsrun

exec master..xp_cmdshell 'dtsrun /Nmypackage'

also see
http://www.nigelrivett.net/sp_oacrea...TSpackage.html

Quote:
-----Original Message-----
HI:
does anyone know it this can be done ?
if so, can you please share the basics and maybe some
sample code

((i am also interested in executing a DTS package from
ACCESS'97))

thanks

.


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.