On this page

DEL GROUP

Core command DELETE GROUP DEL GR DELGR

Deletes a Database Group by making it inactive; refused while a connection uses it.

Syntax

DEL GROUP <id>

Arguments

ArgumentRequiredValuesDefault
<id>YesThe ID of an active Database Group that no connection usesNone

Examples

DEL GROUP TAT;

Details

The Database Group is marked inactive, not removed; EDIT GROUP reactivates it (answer y to Active). The deletion is refused while a connection, active or inactive, still uses the Database Group.

The command asks Delete Database Group '<id>' [y/n]?; only y or yes deletes. A Database Group already inactive is reported as such. PURGE GROUP then removes it permanently.

GitHub #339 (Finding 5): DELETE GROUP is another name of the command. Before, it was not a command: the line was sent to the current connection as SQL (refused at BroadSQL>, and a Production confirmation on a Production connection). GROUP is a reserved word of SQL, so DELETE GROUP <id> is never a statement of a database. DELETE CONNECTION and DELETE ENVIRONMENT are not names of the other commands: they can be SQL (a table named CONNECTION or ENVIRONMENT, on databases where FROM is optional).

Last modified in release 5.6.0.

Found something wrong or unclear on this page? , with the page address.