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
 General SQL Server Forums
 New to SQL Server Programming
 SSIS package

Author  Topic 

dirs
Starting Member

14 Posts

Posted - 2010-08-23 : 04:12:58
Hi, I have made a SSIS package that export logs to a text file. I am running this package as scheduled job. The problem is that export text file is getting bigger and bigger ( appended). what I want is log for 1 day. How can I delete the log file before the package is executed? Thanks in advance :)

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-08-23 : 04:36:38
use file system task for that

http://msdn.microsoft.com/en-us/library/ms140185.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

dirs
Starting Member

14 Posts

Posted - 2010-09-01 : 09:36:28
Thanks :)
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-09-01 : 12:29:54
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -