Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. 5
  2.  
  3. You can achieve this using the following steps:
  4.  
  5. Add a variable i.e. User::Filename
  6. Click on the variable, and press F4 to show the properties Tab
  7. In the Expression use an expression similar to the following:
  8.  
  9. "C:\\Filename_" + (DT_WSTR,4)YEAR(GETDATE()) + "_" + (DT_WSTR,4)MONTH(GETDATE()) + "_" + (DT_WSTR,4)DAY(GETDATE()) + ".csv"
  10. In the Destination Flat File Connection manager, in the expressions (found in the property tab) use this variable as a Connection String expression
  11.  
  12. @[User::Filename]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement