ODBC guide

Empty trash for a shared drive


Permanently empties the Trash for a specified shared drive. Supply DriveType='drive' and the shared drive ID.

DELETE FROM Trash
WITH(DriveType='drive',
     DriveId='1j0HFOP4gsoExxxxxx')