Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

file attributes Expand / Collapse
Author
Message
Posted Tuesday, July 8, 2008 12:31 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, October 6, 2010 1:52 PM
Points: 1, Visits: 14
I am trying to retrieve the files attributes like CREATED DATE and wanted to delete files which has datediff as 10 days.
and I got to add this as ManagementJob in SQL 2005.
I activated xp_cmdshell to run the commands.

1. How can i get the file attributes in T-SQL
2. I got to delete the files who have datediff > 10

Please post if anyone knows...

Thanks and Regards,
Manoj.
Post #530302
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse