KEMBAR78
DBMS Language - Javatpoint | PDF | Databases | Information Science
0% found this document useful (0 votes)
92 views6 pages

DBMS Language - Javatpoint

The document provides an overview of database languages used in DBMS, categorizing them into four types: Data Definition Language (DDL), Data Manipulation Language (DML), Data Control Language (DCL), and Transaction Control Language (TCL). Each type has specific functions, such as defining database structure, manipulating data, controlling access, and managing transactions. The document outlines key commands and tasks associated with each language type.

Uploaded by

desta teklu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views6 pages

DBMS Language - Javatpoint

The document provides an overview of database languages used in DBMS, categorizing them into four types: Data Definition Language (DDL), Data Manipulation Language (DML), Data Control Language (DCL), and Transaction Control Language (TCL). Each type has specific functions, such as defining database structure, manipulating data, controlling access, and managing transactions. The document outlines key commands and tasks associated with each language type.

Uploaded by

desta teklu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

6/1/2021 DBMS Language - javatpoint

https://www.javatpoint.com/dbms-language 1/6
6/1/2021 DBMS Language - javatpoint

Database Language
A DBMS has appropriate languages and interfaces to express database queries and updates.

Database languages can be used to read, store and update the data in the database.

Types of Database Language

1. Data Definition Language

DDL stands for Data Definition Language. It is used to define database structure or pattern.

It is used to create schema, tables, indexes, constraints, etc. in the database.

Using the DDL statements, you can create the skeleton of the database.

Data definition language is used to store the information of metadata like the number of tables and schemas,
their names, indexes, columns in each table, constraints, etc.

Here are some tasks that come under DDL:

Create: It is used to create objects in the database.

Alter: It is used to alter the structure of the database.

Drop: It is used to delete objects from the database.

Truncate: It is used to remove all records from a table.

Rename: It is used to rename an object.

Comment: It is used to comment on the data dictionary.

These commands are used to update the database schema that's why they come under Data definition language.

2. Data Manipulation Language

https://www.javatpoint.com/dbms-language 2/6
6/1/2021 DBMS Language - javatpoint

DML stands for Data Manipulation Language. It is used for accessing and manipulating data in a database. It handles
user requests.

Here are some tasks that come under DML:

Select: It is used to retrieve data from a database.

Insert: It is used to insert data into a table.

Update: It is used to update existing data within a table.

Delete: It is used to delete all records from a table.

Merge: It performs UPSERT operation, i.e., insert or update operations.

Call: It is used to call a structured query language or a Java subprogram.

Explain Plan: It has the parameter of explaining data.

Lock Table: It controls concurrency.

3. Data Control Language

DCL stands for Data Control Language. It is used to retrieve the stored or saved data.

The DCL execution is transactional. It also has rollback parameters.

(But in Oracle database, the execution of data control language does not have the feature of rolling back.)

Here are some tasks that come under DCL:

Grant: It is used to give user access privileges to a database.

Revoke: It is used to take back permissions from the user.

There are the following operations which have the authorization of Revoke:

CONNECT, INSERT, USAGE, EXECUTE, DELETE, UPDATE and SELECT.

4. Transaction Control Language

TCL is used to run the changes made by the DML statement. TCL can be grouped into a logical transaction.

Here are some tasks that come under TCL:

Commit: It is used to save the transaction on the database.

Rollback: It is used to restore the database to original since the last Commit.

← Prev Next →

https://www.javatpoint.com/dbms-language 3/6
6/1/2021 DBMS Language - javatpoint

For Videos Join Our Youtube Channel: Join Now

Feedback

Send your Feedback to feedback@javatpoint.com

Help Others, Please Share

Free Online HTML Generator


Create and edit W3C valid HTML code without writing a single line of code.

froala.com OPEN

Learn Latest Tutorials

SoapUI RPA tutorial manual testing cucumber Appium


tutorial tutorial tutorial tutorial
RPA
SoapUI Manual T. Cucumber Appium

postgresql Apache Solr MongoDB Gimp Tutorial Verilog


tutorial Tutorial tutorial Tutorial
Gimp
PostgreSQL Solr MongoDB Verilog

Teradata PhoneGap
Tutorial Tutorial

Teradata PhoneGap

https://www.javatpoint.com/dbms-language 4/6
6/1/2021 DBMS Language - javatpoint

Preparation

Aptitude Logical Verbal Ability Interview Company


Reasoning Questions Interview
Aptitude Verbal A. Questions
Reasoning Interview
Company

Trending Technologies

Artificial AWS Tutorial Selenium Cloud tutorial Hadoop


Intelligence tutorial tutorial
Tutorial AWS Cloud
Selenium Hadoop
AI

ReactJS Data Science Angular 7 Blockchain Git Tutorial


Tutorial Tutorial Tutorial Tutorial
Git
ReactJS D. Science Angular 7 Blockchain

Machine DevOps
Learning Tutorial Tutorial

ML DevOps

B.Tech / MCA

DBMS tutorial Data DAA tutorial Operating Computer


Structures System tutorial Network tutorial
DBMS tutorial DAA
OS C. Network
DS

Compiler Computer Discrete Ethical Computer


Design tutorial Organization and Mathematics Hacking Tutorial Graphics Tutorial
Architecture Tutorial
Compiler D. E. Hacking C. Graphics
COA D. Math.

Software html tutorial Cyber Automata C Language


Engineering Security tutorial Tutorial tutorial
Tutorial Web Tech.
Cyber Sec. Automata C
Software E.

C++ tutorial Java tutorial ⇧

https://www.javatpoint.com/dbms-language 5/6
6/1/2021 DBMS Language - javatpoint
C++ Java
.Net Python tutorial List of
Framework Programs
tutorial Python
Programs
.Net

Control Data Mining


Systems tutorial Tutorial

Control S. Data Mining

https://www.javatpoint.com/dbms-language 6/6

You might also like