dbTalk Databases Forums  

How to run a DTS package from Excel or SQL Server Stored Procedure

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


Discuss How to run a DTS package from Excel or SQL Server Stored Procedure in the microsoft.public.sqlserver.dts forum.



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

Default How to run a DTS package from Excel or SQL Server Stored Procedure - 06-17-2004 , 07:01 AM






I want to run a DTS package to be triggered from a Excel workbook.
Please provide a simple sample how to run the DTS package from an
Excel workbook or alternatively how to run a DTS package from a SQL
Stored Proc with a simple sample please.

Thanks
Simon

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

Default Re: How to run a DTS package from Excel or SQL Server Stored Procedure - 06-17-2004 , 07:03 AM






Don't forget the DTS dlls will need to be registered on the Client.

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

--

----------------------------

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


"Simon Lenn" <simonlenn (AT) yahoo (DOT) com> wrote

Quote:
I want to run a DTS package to be triggered from a Excel workbook.
Please provide a simple sample how to run the DTS package from an
Excel workbook or alternatively how to run a DTS package from a SQL
Stored Proc with a simple sample please.

Thanks
Simon



Reply With Quote
  #3  
Old   
Douglas Laudenschlager [MS]
 
Posts: n/a

Default Re: How to run a DTS package from Excel or SQL Server Stored Procedure - 06-24-2004 , 04:27 PM



You could incorporate the VBA code to accomplish this into a macro or other
VBA procedure.

Q315661 HOW TO: Run a SQL Server DTS Package from Visual Basic
http://support.microsoft.com/default...;EN-US;Q315661

-Doug

--
Douglas Laudenschlager
Microsoft SQL Server documentation team
Redmond, Washington, USA

This posting is provided "AS IS" with no warranties, and confers no rights.


"Simon Lenn" <simonlenn (AT) yahoo (DOT) com> wrote

Quote:
I want to run a DTS package to be triggered from a Excel workbook.
Please provide a simple sample how to run the DTS package from an
Excel workbook or alternatively how to run a DTS package from a SQL
Stored Proc with a simple sample please.

Thanks
Simon



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.