This form of the REVOKE statement revokes the USE privilege on a table space.
Invocation
This statement can be embedded in an application program or issued through the use of dynamic SQL statements. It is an executable statement that can be dynamically prepared. However, if the bind option DYNAMICRULES BIND applies, the statement cannot be dynamically prepared (SQLSTATE 42509).
Authorization
The authorization ID of the statement must hold either SYSADM, SYSCTRL or DBADM authority (SQLSTATE 42501).
Syntax
>>-REVOKE--USE--OF TABLESPACE--tablespace-name---FROM----------->
.-,------------------------------------.
V |
>-------+-+-------+---authorization-name--+--+-----------------><
| +-USER--+ |
| '-GROUP-' |
'-PUBLIC--------------------------'
Description
The authorization ID of the REVOKE statement itself cannot be used (SQLSTATE 42502). It is not possible to revoke the privileges from an authorization-name that is the same as the authorization ID of the REVOKE statement.
Rules
Notes
Examples
Example 1: Revoke the privilege to create tables in table space PLANS from the user BOBBY.
REVOKE USE OF TABLESPACE PLANS FROM USER BOBBY