Saturday 17 November 2012

SQL SERVER - DDL, DML, DCL, TCL Introduction

DML

DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database.

  • SELECT 
  • UPDATE 
  • INSERT 

DDL

DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database.

  • CREATE
  • ALTER
  • DROP 

DCL


DCL is abbreviation of Data Control Language. It is used to create roles, permissions, and referential integrity as well it is used to control access to database by securing it.

  • GRANT
  • REVOKE 

TCL

TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database.

  •  COMMIT
  •  ROLLBACK 

No comments:

Post a Comment