8 Data Control Language
Data control language (DCL) is the language we use to organize data access authorizations. This chapter will discuss the necessity of DCL, explore its use cases, and provide SQL code examples to configure database authorizations.
Welcome to the final SQL chapter of the book! It’s been a long journey through many SQL sublanguages, and we’ll be concluding with a worthy one: DCL. “Last, but not least” is an appropriate label for DCL, as it’s a topic of utmost importance.
In a nutshell, DCL is a sublanguage we use to organize data access privileges. Through DCL, we gain the ability to declare who can do what. We can, for instance, set up an authorization structure in which the following can occur:
-
Certain privileged users ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access