What are DCL commands?

DCL or Data Control Language commands are used enforce access control to data within the database or database objects.

These are:

  • GRANT <previlige_name> ON <object_name> TO <user_name>
  • REVOKE <previlige_name> ON <object_name> FROM <user_name>

DCL or Data Control Language commands are used enforce access control to data within the database or database objects.

These are:

  • GRANT <previlige_name> ON <object_name> TO <user_name>
  • REVOKE <previlige_name> ON <object_name> FROM <user_name>

Buy Me A Coffee

Found this article helpful? Please consider supporting!

Ram
Ram

I'm a full-stack developer and a software enthusiast who likes to play around with cloud and tech stack out of curiosity. You can connect with me on Medium, Twitter or LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *