DCL Statements

DCL Statements

The BNF notations for the main two DCL statements are:

GRANT {[ALL [PRIVILEGES]] | <privilege,...>}
[ON <object_name>]
TO <user_group_or_role>
[WITH GRANT OPTION] 
REVOKE {[ALL [PRIVILEGES]] | <privilege,...> 
ON <object_name>
FROM <user_group_or_role>