TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Oracle

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
  • DML
  • DQL
  • DCL
  • TCL

SQL Commands Types

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:

  • CREATE
  • ALTER
  • DROP
  • RENAME
  • TRUNCATE

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 :

  • INSERT
  • UPDATE
  • DELETE
  • MERGE

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:

  • GRANT
  • REVOKE

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:

  • COMMIT
  • ROLLBACK
  • SAVEPOINT

—

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/

Related Posts

Oracle Databse 19c Download

Oracle /

Install Oracle 19c Database On Windows 10

ORA-01109 Database Not Open

Oracle /

Fix ORA-01109: database not open Error

Oracle SQL Update Statement

Oracle /

Oracle SQL Update Statement

Oracle SQL Insert Statement

Oracle /

Oracle SQL INSERT Statement

SELECT all rows and columns Oracle

Oracle /

Oracle SQL SELECT Statement

‹ Introduction to Oracle SQL*Plus› Oracle SQL LIKE Operator with Examples

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Print Triangle Pattern Flowchart
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version