dbTalk Databases Forums  

How do I pass a parameter to a DTS ?

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss How do I pass a parameter to a DTS ? in the comp.databases.ms-sqlserver forum.



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

Default How do I pass a parameter to a DTS ? - 11-06-2007 , 02:52 PM






Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg


Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: How do I pass a parameter to a DTS ? - 11-06-2007 , 09:02 PM






On Tue, 06 Nov 2007 22:52:28 +0200, David Greenberg
<davidgr (AT) iba (DOT) org.il> wrote:

One simple solution might be to store those parameters in a separate
table. Then write code like this:
select * from tblCustomers
where CustomerID = (select CustomerID from tblParameters)

-Tom.


Quote:
Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg

Reply With Quote
  #3  
Old   
David Greenberg
 
Posts: n/a

Default Re: How do I pass a parameter to a DTS ? - 11-07-2007 , 12:43 AM



Thanks Tom !
That was the work around we had planned (we've actually used that method
before successfully)


Tom van Stiphout wrote:
Quote:
On Tue, 06 Nov 2007 22:52:28 +0200, David Greenberg
davidgr (AT) iba (DOT) org.il> wrote:

One simple solution might be to store those parameters in a separate
table. Then write code like this:
select * from tblCustomers
where CustomerID = (select CustomerID from tblParameters)

-Tom.



Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg



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.