A DTS package has a dynamic property task with 2 parameters.
select (year(getdate()) -1902) * 10000
select ((year(getdate()) -1900)+4) * 10000
The query is extracting data from AS400 to SQL2K
select CWDATE,CWWKDY
FROM PPTREASUSA.CLWORK
where CWDATE > ? and CWDATE < ?
My question is why is the parameters are trying to get only the year? It doesn't make sense to me.