Syed Akbar Ali

Introduction: What is DML, DDL, DCL and TCL in SQL Server

DML

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

Examples: SELECT, UPDATE, INSERT statements

DDL

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

Examples: CREATE, ALTER, DROP statements

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.

Examples: GRANT, REVOKE statements

TCL

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

Examples: COMMIT, ROLLBACK statements

 

This article originally posted by Pinal Dave in his blog. I just want to keep a copy in my blog bcoz some time I am getting confused in DCL, DML, DDL .. So, I can easily refer if its in my blog.

Thanks to Pinal Dave.


Posted: Mar 10 2008, 08:16 PM by akbaralis | with 4 comment(s) |
Filed under: , , , ,

Comments

rascunho » Blog Archive » links for 2008-03-11 said:

Pingback from  rascunho  » Blog Archive   » links for 2008-03-11

# March 11, 2008 4:20 PM

unix86.org » Blog Archive » MS SQL Resources and Links said:

Pingback from  unix86.org  » Blog Archive   » MS SQL Resources and Links

# September 15, 2008 2:00 AM

Naveed said:

There should be a further detail

# November 19, 2008 2:04 AM

Pinal Dave said:

I think this is exact copy of original article : Please post a reference to original reference :

blog.sqlauthority.com/.../sql-server-what-is-dml-ddl-dcl-and-tcl-introduction-and-examples

Regards,

Pinal

# April 25, 2009 11:57 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)