DROP GROUP (Databricks SQL)

Drops a group. An exception is thrown if the group does not exist in the system.

Syntax

DROP GROUP group_name

Parameters

  • group_name

    The name of the group to drop.

Examples

-- Create `group1` Group
CREATE GROUP group1 WITH GROUP group2;

-- Drop `group1` group
DROP GROUP group1;