Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Parameters with DTS packages

Status
Not open for further replies.

Rob999

Programmer
May 23, 2002
98
US
Hi everyone. I'd like to know if there's an EZ way to use a global variable from a Dynamic Properties task to limit the number of records imported from a table by Date.

I've used dynamic properties before with tasks, but I don't know how to use a 'gvDate' in the required SQL string from the Source tab of a Transform Data task. The default string reads-

SELECT fields
FROM table

I'd like to add-
WHERE trnsDate = gvDate,

with gvDate being the variable. I've tried declaring a @variable and some other things but don't know what I'm missing. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top