Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTSGlobalVariables("@SDate").Value in Query

Author  Topic 

bnhcomputing
Starting Member

22 Posts

Posted - 2005-09-28 : 13:51:31
Transform Data Task Properties Source

I use the following select statement

SELECT * FROM udf('1/1/2005','12/31/2009')

The problem is, then the dates are "coded."

Is there a way to pass parameter to DTS, so the dates change on the fly?

I tried somethng like DTSGlobalVariables("@SDate").Value but that just gave me errors.

Thanks again,

Hubert Hoffman
   

- Advertisement -