REVOKE | Revoke Commands In SQL | DCL Command in DCL Command Revoke published on April 06, 2019 leave a reply REVOKE Command Revoke command used to removes user access rights or privileges to the database objects. Syntax : REVOKE privilege_list ON object_name FROM {user_name | PUBLIC | role_name}; Revoke command has four types of parameters: 1) privilege_list - This parameter specifies the types of privilege. 2) object_name - This parameter specifies the name of the database object like table, view etc. 3) user_name - This parameter specifies the name of the user. 4) role_name - This parameter specifies set of privileges grouped together. Keyword PUBLIC - Used to revoke rights to all user. Example : REVOKE SELECT ON Customer01 FROM user1; * * * * * * * * * * * * * * * * * * In Easy Language : Revoke command used to remove user access privileges. Tweet Share Share Share Previous Post Next Post post written by: Anonymous
0 Comments: