Revoke Statement; Syntax Description Of Revoke - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

REVOKE Statement

"Syntax Description of REVOKE"

"Considerations for REVOKE"
"Examples of REVOKE"
The REVOKE statement revokes access privileges for a Neoview SQL table, view, or materialized
view from specified roles or through a synonym of a table, view, or materialized view.
REVOKE [GRANT OPTION FOR]
{privilege [,privilege ]...| ALL [PRIVILEGES]}
ON [TABLE] object
FROM {grantee [,grantee ]... | PUBLIC
}
[drop-behavior]
grantee is:
authid | PUBLIC
privilege is:
DELETE
| INSERT
| REFERENCES [(column [,column]...)]
| SELECT
| UPDATE [(column [,column]...)]
drop-behavior is:
{ RESTRICT | CASCADE }
Syntax Description of REVOKE
GRANT OPTION FOR
specifies that the WITH GRANT OPTION for the specified privilege is to be revoked. The
privilege itself is not revoked.
privilege[,privilege]... | ALL [PRIVILEGES]
specifies the privileges to revoke. You can specify each of these privileges for a table, view,
or materialized view.
DELETE
INSERT
REFERENCES
SELECT
UPDATE
ALL PRIVILEGES
(column [,column]...)
names the columns of the object to which the UPDATE or REFERENCES privilege applies.
If you specify UPDATE or REFERENCES without column names, the revoke applies to
all columns of the table, view, or materialized view.
ON [TABLE]object
specifies a table, view, or materialized view on which to revoke privileges.
134
SQL Statements
Revokes the DELETE statement.
Revokes the INSERT statement.
Cannot create constraints that reference the object.
Revokes the SELECT statement.
Revokes the UPDATE statement.
Revokes all privileges that apply to the object type.

Advertisement

Table of Contents
loading

Table of Contents