Monday 30 May 2011

delete old files using cmd

del U:\MSSQL$INST02\BACKUP\abc\*.bak

To use this from sql we have enable xp_cmdshell

No comments:

Post a Comment