SQL Eval Function Directory_DeleteAll

Directory_DeleteAll deletes a directory from a specified path including subdirectories, and files.

Directory_DeleteAll @path NVARCHAR (MAX)

Parameters

  • path: The directory to delete.

Example

EXEC Directory_DeleteAll @path = 'C:\Temp1'


Contents