Category: 

What Is a Data Control Language?

Article Details
  • Written By: T.S. Adams
  • Edited By: M. C. Hughes
  • Last Modified Date: 27 August 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Roughly one-fifth of the world's stock of gold - worth over $200 billion USD - is stored under the streets of London.  more...

September 30 ,  1949 :  The Berlin Air Lift ended.  more...

Data control language is a subset of the Structured Query Language (SQL), which is typically used to extract and control information stored in a database. Whereas the basic SQL language deals with data manipulation within the database, data control language deals with granting specific end-users authority to execute certain types of commands within the database. Data control language gives a database administrator the ability to manipulate and tailor the privileges of an end-user to enforce security and maintain a hierarchy of control over the information in the database.

Like SQL, data control language is a natural language. This means that the commands used within the language attempt to be as free from jargon and ambiguity as possible, providing a more friendly environment to enable individuals who aren't very technologically savvy to utilize the features of the database. Unlike other languages such as C++, Java, and Visual Basic, which utilize commands that are not intuitively understandable to laypersons, SQL and data control language are formulated to make their command strings fairly elementary. For example, in SQL, the command "SELECT All FROM Employees WHERE Salary>=50,000" would return a list of all individuals in an "Employees" database whose salary equals or exceeds $50,000 US Dollars (USD).

Ad

Data control language is a bit different, as its goal is to manipulate privileges rather than information in the database. The two most prominent commands in data control language are the GRANT and the REVOKE elements. Through these, as their names imply, the database administrator can either provide or deny a specific privilege to an end-user of the database. Common privileges include the ability to connect with the database through the CONNECT command; select rows and columns from the database through the SELECT command; insert new information into the database through the INSERT command; update existing information within the database through the UPDATE command; delete existing information from the database through the DELETE command; or execute specific commands or code within the database through the EXECUTE command.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}