Deleting groups from the database

You can delete a group from the database using both Sybase Central and Interactive SQL.

Deleting users or groups from the database is different from removing them from other groups. Deleting a group from the database does not delete its members from the database, although they lose membership in the deleted group.

Only a user with DBA authority can delete a group.

To delete a group from the database (Sybase Central)

  1. Connect to the database as a user with DBA authority.

  2. Click Users & Groups.

  3. Right-click the group and then choose Delete.

  4. Click Yes.

To delete a group from the database (SQL)

  1. Connect to the database as a user with DBA authority.

  2. Execute a REVOKE CONNECT FROM statement.

Example

Remove the group personnel from the database.

REVOKE CONNECT FROM personnel;
See also