![]() |
ALLBASE/SQL Reference Manual
> Chapter 11 SQL Statements E - RREMOVE FROM GROUP |
|||||||||||||||||||||||
|
ScopeISQL or Application Programs SQL Syntax
REMOVE {DBEuserID
GroupName
ClassName}[,...] FROM GROUP [Owner.]TargetGroupName
Parameters
DescriptionYou cannot remove a member from a group if that member (or members of that member) used a DBA or REFERENCES privilege to which that member had access through that group to validate the creation of a currently existing foreign key in a table he or she owns. AuthorizationYou can use this statement if you have OWNER authority for the authorization group or if you have DBA authority. Example
CREATE GROUP Warehse
GRANT CONNECT TO Warehse
GRANT SELECT,
UPDATE (BinNumber,QtyOnHand,LastCountDate)
ON PurchDB.Inventory
TO Warehse
ADD Clem, George TO GROUP Warehse
These two users now are able to start DBE sessions on PartsDBE
and PurchDB.Inventory, and to update three columns in the table.
REMOVE Clem FROM GROUP WarehseClem no longer has any of the authorities associated with group Warehse. DROP GROUP WarehseBecause this group does not own any database objects, it can be deleted. George no longer has any of the authorities once associated with the group.
|