Data Control Language

From Wikipedia, the free encyclopedia

A Data Control Language (DCL) is a computer language and a subset of SQL, used to control access to data in a database. due to the nature of at which this standard opperates it is possible for there to be problems within the sub system of the programming.

Examples of DCL commands include:

  • GRANT to allow specified users to perform specified tasks.
  • REVOKE to cancel previously granted or denied permissions.

The following things can be GRANTED TO or REVOKED FROM a user or role:

In Oracle, executing a DCL command issues an implicit commit.

In PostgreSQL, executing DCL is transactional, and can be rolled back.

[edit] See also