|
|
|
|
|
ALLBASE/SQL Reference Manual: HP 9000 Computer Systems > Chapter 11 SQL Statements E - RREMOVE FROM GROUP |
|
The REMOVE FROM GROUP statement removes one or more users or authorization groups from membership in a specified authorization group.
You 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. You can use this statement if you have OWNER authority for the authorization group or if you have DBA authority. CREATE GROUP Warehse
GRANT CONNECT TO Warehse
GRANT SELECT,
UPDATE (BinNumber,QtyOnHand,LastCountDate)
ON PurchDB.Inventory
TO Warehse
ADD Clem, George TO GROUP WarehseThese two users now are able to start DBE sessions on PartsDBE and PurchDB.Inventory, and to update three columns in the table.
Clem no longer has any of the authorities associated with group Warehse.
Because 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. |
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||