All, I am working on creating an ssis package to move the data from one source to multiple destinations depending on Dates and Time for diffrent destinations. Can someone help in setting up Variable or Expression which i can use to specify time. e.g i need to move the data from Yesterday 7:00 AM to Today 7:00 AM. My major problem is to setup time not the date but if you have better solution for both i will take it.. Thanks..Ad
You could use the new 2008 data type "datetimeoffset(7)" and then you could use for your SSIS Package "SWITCHOFFSET " as for example below Select CONVERT(DATETIME,SWITCHOFFSET([startdate],'-08:00')) localdate from mytable I hope that could help you