I create a package in integration services to extract data on a daily basis. Is there a way to add the date or date and time to file name to make it unique?
It needs to look like this CSV1-Delim-Elig-Date.cvs
. The CSV1-Delim-Elig
will always be part of the file name and will be saved as a .CVS
To dynamically generate file names you need to add an expression to the connection string property of the file connection manager.
"C:\\Output\\CSV1-Delim-Elig-" + REPLACE((DT_WSTR, 50)(DT_DBDATE)GETDATE(),"-","") + ".csv"