dbTalk Databases Forums  

Re: passing parameters to dts

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


Discuss Re: passing parameters to dts in the microsoft.public.sqlserver.dts forum.



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

Default Re: passing parameters to dts - 03-05-2004 , 12:37 PM






The import/Export wizard no

But why not save the package you build with the wizard and then use that
saved package and add parameters

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
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


"Anonymos" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
is there a way to pass parameters to dts import/export wizard



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

Default Re: passing parameters to dts - 03-06-2004 , 06:09 PM






If you want to pass parameters to a strored proc that you execute in DTS
have a look at this article and let us know if it does what you want

Global Variables and Stored Procedure Parameters
(http://www.sqldts.com/Default.aspx?234)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
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


"anonymus" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a script as follows:

exec test1 @id

In Test1 stored procedure
Depending on the parameter I have to execute a stored procedure and send
the out put to an xls file. It is easy to send the output of a stored
procedute to a file using DTS but only problem is there is no way of sending
the parameters to it. Any idea?




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.