Skip to main content

DROP FOLDER

Remove a folder from a catalog.

Syntax
DROP FOLDER [ IF EXISTS ] <folder_name> [ .<child_folder_name> ]

Parameters

[ IF EXISTS ] Optional

When included, the command will succeed regardless of whether the folder existed. If this clause is not specified, the command will fail if the folder to be dropped does not exist.


<folder_name> [ .<child_folder_name> ] String

The name of the folder that you are dropping. If you are dropping a child folder from a parent folder, use the parent folder name as the folder_name and include the .child_folder_name.


Examples

Drop a child folder from a parent folder
DROP FOLDER myFolder.resources
Drop a folder
DROP FOLDER myFolder