Entering content frame

DROP USERGROUP Statement (drop_usergroup_statement) 

The DROP USERGROUP statement drops the definition of usergroup. The metadata of the user group to be dropped is dropped from the catalog.

Syntax

<drop_usergroup_statement> ::= DROP USERGROUP <usergroup_name> [<cascade_option>]

usergroup_name, cascade_option

Explanation

The current user must have owner authorization over the usergroup to be dropped.

The users in this usergroup must not be logged onto the database system when the DROP USERGROUP statement is executed.

·        If the usergroup to be dropped is the owner of synonyms or tables and if the CASCADE option RESTRICT was specified, the DROP USERGROUP statement fails.

·        If no cascade option or the cascade option CASCADE is specified, all the synonyms and tables of the user group to be dropped, as well as all indexes, privileges, view tables, etc. based on these objects, are dropped together with the usergroup.

 

Leaving content frame