0

in SSIS 2008, In my incremental process, I would like to create automatically a new folder containing the current date. Then copy all files from a source directoty to this new folder...

Any idea how to do that?

Thanks in advance Largo

largo68
  • 609
  • 2
  • 16
  • 29

1 Answers1

0

You can use "Execute Process" to run a robocopy .bat file to copy the files. Create a local variable and assign it in a C# script to get the current date.

Dts.Variables["User::CurrentDate"].Value = DateTime.Now;

Found a easier way to add the date. follow the link
http://www.sqlnerd.com/ssis_dynamic_dates.htm

Botz3000
  • 39,020
  • 8
  • 103
  • 127
Krivahn Doss
  • 155
  • 3
  • 13