dbTalk Databases Forums  

Input Parameter for running a DTS ?

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


Discuss Input Parameter for running a DTS ? in the microsoft.public.sqlserver.dts forum.



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

Default Input Parameter for running a DTS ? - 06-20-2005 , 01:58 AM






I am creating a DTS package with a select query that
retrives information between Date1 and Date2.

Instead of changing the Dates in the underlying query, is
it possible to set the parameters when running a DTS
query ?

Thanks

Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: Input Parameter for running a DTS ? - 06-20-2005 , 04:54 AM






You can use a parametrized query (select * from table where Date>?) and map
the parameters with a Global variable in the DTS package.

Francesco Anti

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> ha scritto nel messaggio
news:13e101c57565$66661540$a601280a (AT) phx (DOT) gbl...
Quote:
I am creating a DTS package with a select query that
retrives information between Date1 and Date2.

Instead of changing the Dates in the underlying query, is
it possible to set the parameters when running a DTS
query ?

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.