Site icon TestingDocs.com

Types of SQL commands

Overview

SQL commands are used to perform variety of tasks on the database instance. SQL commands can be classified into different categories based on their functionality. SQL commands can be broadly classified into the following categories:

DDL

DDL stands for Data Definition Language. DDL commands are used to  create modify, and drop the structure of database objects. Examples of DDL statements are:

DML

DML stands for Data Manipulation Language. DML commands are used to store, modify, and delete data in the database. Example of DML statements are :

DQL

DQL stands for Data Query Language. DQL command is used to retrieve data from the database.Example of DQL statement is the SELECT command

DCL

DCL stands for Data Control Language. DCL commands are used for specifying permissions, access control and providing security to database objects. Examples of DCL statements are:

TCL

TCL stands for Transaction Control Language. A transaction is a set of one ore more SQL commands that change data in the Oracle database. TCL commands are used for managing changes affecting the data in the database. Examples of TCL statements are:

Oracle Database Tutorials on this website:

https://www.testingdocs.com/oracle-database-tutorials-for-beginners/

More information about Oracle Database:

https://www.oracle.com/database/

Exit mobile version