Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a file with a SQL command

Status
Not open for further replies.

jamminjaymeyer

Programmer
May 23, 2001
88
US
Is it possible to delete a file on the harddrive with a SQL command?
 
exec xp_cmdshell 'DEL myfile.txt'

See BOL for details.

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
Boy howdy, my Liberal Studies degree really prepared me for this....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top