Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Create a csv file, import data and add filename dy

Author  Topic 

system243trd
Starting Member

9 Posts

Posted - 2014-04-11 : 13:16:32
Help ..

I am using SQL Server Data Tools and I am attempting to create a new csv file, import data to it and then add the filename Bensfile[Date].csv.

I have been able to export the data to an existing csv but I'm unable to create a new csv file and rename the file name so it includes the date.

So far in my SSIS package I have added a Data Flow Task. Within this there is an OLE DB Source and and a Flat File destination.

Please can anyone help me perform the following:

i) how I create the new csv and add data to the file
ii) Rename the file so it includes the date

Many Thanks
   

- Advertisement -