December 21, 2012 at 9:17 am
Hi -
I am running MS SQL desktop engine, and trying to delete older copies of .bak files from C drive. How can I add xp_delete_file to master DB in order to run it? If that is something I can not do, is there any other way I can use to delete the files?
Thanks.
December 21, 2012 at 9:23 am
MSDE is a SQL Server 2000 product, isn't it? Does it not come with the delete file xp? If not, you could write your own script in C#, VB Powershell or your favourite scripting language.
John
December 21, 2012 at 10:26 am
You are correct, it is SQL 2k. It does not come with xp_delete_file.
December 21, 2012 at 10:30 am
As you recommended, I will be using vb script to delete... Thanks for you reply.
December 21, 2012 at 4:18 pm
lsalih (12/21/2012)
Hi -I am running MS SQL desktop engine, and trying to delete older copies of .bak files from C drive. How can I add xp_delete_file to master DB in order to run it? If that is something I can not do, is there any other way I can use to delete the files?
Thanks.
Which logins on your box have SA privs?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply