Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @[User::FilePath]+ "Bloomberg_"+REPLACE((DT_STR, 20, 1252)
- (DT_DBTIMESTAMP)@[System::StartTime], ":", "")+".xls"
- \public\Bloomberg_Upload\Bloomberg_2013-07-05 005738.xls
- \public\Bloomberg_Upload\Bloomberg_2013-07-04 005738.xls
- (DT_I4)DATEPART("weekday",@[System::StartTime]) ==2 ?
- Replace((DT_STR, 20, 1252)(DATEADD( "D", -3,@[System::StartTime])),":","-") + ".xls" :
- Replace((DT_STR, 20, 1252)(DATEADD( "D", -1,@[System::StartTime])),":","-") + ".xls"
- @[User::FilePath]+"Bloomberg_"+((DT_I4)DATEPART("weekday",@[System::StartTime]) ==1 ?
- Replace((DT_STR, 20, 1252)(DATEADD( "D", -3,@[System::StartTime])),":","") + ".xls" :
- Replace((DT_STR, 20, 1252)(DATEADD( "D", -1,@[System::StartTime])),":","") + ".xls")
- DATEADD("day", -1, GETDATE())
Add Comment
Please, Sign In to add comment