What are the difference between DDL, DML and DCL commands?

Post date: 18-May-2010 09:27:11

DDL

Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:

DML

Data Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:

DCL

Data Control Language (DCL) statements. Some examples:

TCL

Transaction Control (TCL) statements are used to manage the changes made by DML statements. It allows statements to be grouped together into logical transactions.

DML statements can be rollbacked where DDL are autocommit.