The difference between the GRANT and REVOKE command is as under:
SQL GRANT Command
SQL GRANT is a command used to provide access or privileges on the database objects to the users. The Syntax for the GRANT command is:
GRANT privilege_name
ON object_name
TO {user_name |PUBLIC |role_name}
[WITH GRANT OPTION];
SQL REVOKE Command:
The REVOKE command removes user access rights or privileges to the database objects.The Syntax for the REVOKE command is:
REVOKE privilege_name
ON object_name
FROM {user_name |PUBLIC |role_name}

Join the conversation! Your thoughts help the community grow.