SlideShare a Scribd company logo
1 of 14
Oracle DDL ,DML & DCL
ABDUL REHMAN
DDL
• SCHEMA
– A database schema is the skeleton structure that
represents the logical view of the entire database. It
defines how the data is organized and how the
relations among them are associated.
• DATA DEFINATION LANGUAGE
– Are collection of those statements which are DIRECTLY
related to database Schema
• DDL STATEMENTS ARE
– CREATE, ALTER, DROP, REPLACE AND TRUNCATE
CREATE
• Used To Create Objects Like
– CREATE TABLE
– CREATE FUNCTION
– CREATE VIEW
– Etc.
CREATE TABLE STUDENT
(
STDROLLNO number(5) primary key,
NAME varchar2(20),
CAST varchar2(20)
);
STDROLLNO NAME CAST
ALTER
• Use to Alter Objects like
– ALTER TABLE
– ALTER USER
– ALTER DATABASE
ALTER TABLE STUDENT ADD
(
ADDRESS NVARCHAR2(50)
);
STDROLLNO NAME CASTSTDROLLNO NAME CAST ADDRESS
DROP
• Use to Drop Objects like
– DROP TABLE
– DROP USER
– DROP FUNCTION
– Etc
CREATE TABLE EXTRA
(
NUM number(5) primary key,
NAME nvarchar2(20)
);
NUM NAME
DROP TABLE EXTRA;
REPLACE
• Use to Rename table names.
RENAME STUDENT TO STUDENTS;
STDROLLNO NAME CAST ADDRESS
TRUNCATE
• Use to truncate (delete all rows) a table.
DML
• Data manipulation language (DML)
• Are the statements query and manipulate
data in existing schema objects.
– INSERT
– UPDATE
– DELETE
INSERT
• Insert into STUDENTS values (3,’Atif’,’Bhatti’,’UK’);
• Insert into STUDENTS values
(13,’Ahsan’,’Khanzada’,’SK’);
STDROLLNO NAME CAST ADDRESS
3 Atif Bhatti UK
13 Ahsan Khanzada SK
UPDATE
• USED TO MODIFY DATA IN DB
– UPDATE STUDENTS SET ADDRESS=‘NAWABSHAH’
WHERE NAME=‘Atif”;
STDROLLNO NAME CAST ADDRESS
3 Atif Bhatti UK
13 Ahsan Khanzada SK
STDROLLNO NAME CAST ADDRESS
3 Atif Bhatti Nawabshah
13 Ahsan Khanzada SK
DELETE
• Use the DELETE statement to delete the rows
from existing tables which are in your schema
or if you have DELETE privilege on them.
• DELETE STUDENTS WHERE NAME=‘Ahsan’;
STDROLLNO NAME CAST ADDRESS
3 Atif Bhatti Nawabshah
13 Ahsan Khanzada SK
DCL
• Data Control Language (DCL) Statements
– Data Control Language Statements are used to
grant privileges on tables, views, procedures to
other users or roles.
– The DCL statements are
• GRANK
• REVOKE
GRANT
• Use to grant privileges to other users or roles.
• grant select, update, insert on STUDENTS to
David;
REVOKE
• Use to take back privileges granted to other
users and roles.
• revoke select, update, insert on emp from
David;

More Related Content

What's hot (20)

DBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCLDBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCL
 
Structured query language
Structured query languageStructured query language
Structured query language
 
DML Commands
DML CommandsDML Commands
DML Commands
 
8. sql
8. sql8. sql
8. sql
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
 
Sql basics and DDL statements
Sql basics and DDL statementsSql basics and DDL statements
Sql basics and DDL statements
 
Mysql
MysqlMysql
Mysql
 
The Relational Model
The Relational ModelThe Relational Model
The Relational Model
 
Oracle/SQL For Beginners - DDL | DML | DCL | TCL - Quick Learning
Oracle/SQL For Beginners - DDL | DML | DCL | TCL - Quick LearningOracle/SQL For Beginners - DDL | DML | DCL | TCL - Quick Learning
Oracle/SQL For Beginners - DDL | DML | DCL | TCL - Quick Learning
 
Triggers
TriggersTriggers
Triggers
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
DDL And DML
DDL And DMLDDL And DML
DDL And DML
 
Sql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.pptSql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.ppt
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
SQL: Creating and Altering Tables
SQL: Creating and Altering TablesSQL: Creating and Altering Tables
SQL: Creating and Altering Tables
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
 

Similar to Oracle Database DML DDL and TCL (20)

Database models and DBMS languages
Database models and DBMS languagesDatabase models and DBMS languages
Database models and DBMS languages
 
98765432345671223Intro-to-PostgreSQL.ppt
98765432345671223Intro-to-PostgreSQL.ppt98765432345671223Intro-to-PostgreSQL.ppt
98765432345671223Intro-to-PostgreSQL.ppt
 
Sql tutorial
Sql tutorialSql tutorial
Sql tutorial
 
sql statements & joins
sql statements & joinssql statements & joins
sql statements & joins
 
Sql
SqlSql
Sql
 
Data base.ppt
Data base.pptData base.ppt
Data base.ppt
 
Oracle Material.pdf
Oracle Material.pdfOracle Material.pdf
Oracle Material.pdf
 
Module 3
Module 3Module 3
Module 3
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Dbms & oracle
Dbms & oracleDbms & oracle
Dbms & oracle
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Oracle 11g SQL Overview
Oracle 11g SQL OverviewOracle 11g SQL Overview
Oracle 11g SQL Overview
 
Unit - II.pptx
Unit - II.pptxUnit - II.pptx
Unit - II.pptx
 
SQL
SQLSQL
SQL
 
SQL WORKSHOP::Lecture 10
SQL WORKSHOP::Lecture 10SQL WORKSHOP::Lecture 10
SQL WORKSHOP::Lecture 10
 
LECTURE NOTES.pdf
LECTURE NOTES.pdfLECTURE NOTES.pdf
LECTURE NOTES.pdf
 
LECTURE NOTES.pdf
LECTURE NOTES.pdfLECTURE NOTES.pdf
LECTURE NOTES.pdf
 
DDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using OracleDDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using Oracle
 
SQL: Data Definition Language commands.pptx
SQL: Data Definition Language commands.pptxSQL: Data Definition Language commands.pptx
SQL: Data Definition Language commands.pptx
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 

More from Abdul Rehman

Muhammad Bin Qasim: conquerer of Sindh and Multan
Muhammad Bin Qasim: conquerer of Sindh and MultanMuhammad Bin Qasim: conquerer of Sindh and Multan
Muhammad Bin Qasim: conquerer of Sindh and MultanAbdul Rehman
 
Scrum An: Agile Methodologies in Software Engineering
Scrum An: Agile Methodologies in Software EngineeringScrum An: Agile Methodologies in Software Engineering
Scrum An: Agile Methodologies in Software EngineeringAbdul Rehman
 
Segments of URL and Search Engine Optimization (SEO)
Segments of URL and Search Engine Optimization (SEO)Segments of URL and Search Engine Optimization (SEO)
Segments of URL and Search Engine Optimization (SEO)Abdul Rehman
 
What is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingWhat is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingAbdul Rehman
 
Database application developer and end users
Database application developer and end usersDatabase application developer and end users
Database application developer and end usersAbdul Rehman
 
Steps of Scientific Paper
Steps of Scientific PaperSteps of Scientific Paper
Steps of Scientific PaperAbdul Rehman
 
Narrative Writing and its types
Narrative Writing and its typesNarrative Writing and its types
Narrative Writing and its typesAbdul Rehman
 
Management information System and its types
Management information System and its typesManagement information System and its types
Management information System and its typesAbdul Rehman
 
Research Methods Qualitative and Quantitative
Research Methods Qualitative and QuantitativeResearch Methods Qualitative and Quantitative
Research Methods Qualitative and QuantitativeAbdul Rehman
 
Types of Technical Report and Writing
Types of Technical Report and WritingTypes of Technical Report and Writing
Types of Technical Report and WritingAbdul Rehman
 
Deletion in linked lists
Deletion in linked listsDeletion in linked lists
Deletion in linked listsAbdul Rehman
 
Computer networking
Computer networkingComputer networking
Computer networkingAbdul Rehman
 
Data communication
Data communicationData communication
Data communicationAbdul Rehman
 

More from Abdul Rehman (13)

Muhammad Bin Qasim: conquerer of Sindh and Multan
Muhammad Bin Qasim: conquerer of Sindh and MultanMuhammad Bin Qasim: conquerer of Sindh and Multan
Muhammad Bin Qasim: conquerer of Sindh and Multan
 
Scrum An: Agile Methodologies in Software Engineering
Scrum An: Agile Methodologies in Software EngineeringScrum An: Agile Methodologies in Software Engineering
Scrum An: Agile Methodologies in Software Engineering
 
Segments of URL and Search Engine Optimization (SEO)
Segments of URL and Search Engine Optimization (SEO)Segments of URL and Search Engine Optimization (SEO)
Segments of URL and Search Engine Optimization (SEO)
 
What is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in NetworkingWhat is Bridge and Types of Bridges in Networking
What is Bridge and Types of Bridges in Networking
 
Database application developer and end users
Database application developer and end usersDatabase application developer and end users
Database application developer and end users
 
Steps of Scientific Paper
Steps of Scientific PaperSteps of Scientific Paper
Steps of Scientific Paper
 
Narrative Writing and its types
Narrative Writing and its typesNarrative Writing and its types
Narrative Writing and its types
 
Management information System and its types
Management information System and its typesManagement information System and its types
Management information System and its types
 
Research Methods Qualitative and Quantitative
Research Methods Qualitative and QuantitativeResearch Methods Qualitative and Quantitative
Research Methods Qualitative and Quantitative
 
Types of Technical Report and Writing
Types of Technical Report and WritingTypes of Technical Report and Writing
Types of Technical Report and Writing
 
Deletion in linked lists
Deletion in linked listsDeletion in linked lists
Deletion in linked lists
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Data communication
Data communicationData communication
Data communication
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 

Oracle Database DML DDL and TCL

  • 1. Oracle DDL ,DML & DCL ABDUL REHMAN
  • 2. DDL • SCHEMA – A database schema is the skeleton structure that represents the logical view of the entire database. It defines how the data is organized and how the relations among them are associated. • DATA DEFINATION LANGUAGE – Are collection of those statements which are DIRECTLY related to database Schema • DDL STATEMENTS ARE – CREATE, ALTER, DROP, REPLACE AND TRUNCATE
  • 3. CREATE • Used To Create Objects Like – CREATE TABLE – CREATE FUNCTION – CREATE VIEW – Etc. CREATE TABLE STUDENT ( STDROLLNO number(5) primary key, NAME varchar2(20), CAST varchar2(20) ); STDROLLNO NAME CAST
  • 4. ALTER • Use to Alter Objects like – ALTER TABLE – ALTER USER – ALTER DATABASE ALTER TABLE STUDENT ADD ( ADDRESS NVARCHAR2(50) ); STDROLLNO NAME CASTSTDROLLNO NAME CAST ADDRESS
  • 5. DROP • Use to Drop Objects like – DROP TABLE – DROP USER – DROP FUNCTION – Etc CREATE TABLE EXTRA ( NUM number(5) primary key, NAME nvarchar2(20) ); NUM NAME DROP TABLE EXTRA;
  • 6. REPLACE • Use to Rename table names. RENAME STUDENT TO STUDENTS; STDROLLNO NAME CAST ADDRESS
  • 7. TRUNCATE • Use to truncate (delete all rows) a table.
  • 8. DML • Data manipulation language (DML) • Are the statements query and manipulate data in existing schema objects. – INSERT – UPDATE – DELETE
  • 9. INSERT • Insert into STUDENTS values (3,’Atif’,’Bhatti’,’UK’); • Insert into STUDENTS values (13,’Ahsan’,’Khanzada’,’SK’); STDROLLNO NAME CAST ADDRESS 3 Atif Bhatti UK 13 Ahsan Khanzada SK
  • 10. UPDATE • USED TO MODIFY DATA IN DB – UPDATE STUDENTS SET ADDRESS=‘NAWABSHAH’ WHERE NAME=‘Atif”; STDROLLNO NAME CAST ADDRESS 3 Atif Bhatti UK 13 Ahsan Khanzada SK STDROLLNO NAME CAST ADDRESS 3 Atif Bhatti Nawabshah 13 Ahsan Khanzada SK
  • 11. DELETE • Use the DELETE statement to delete the rows from existing tables which are in your schema or if you have DELETE privilege on them. • DELETE STUDENTS WHERE NAME=‘Ahsan’; STDROLLNO NAME CAST ADDRESS 3 Atif Bhatti Nawabshah 13 Ahsan Khanzada SK
  • 12. DCL • Data Control Language (DCL) Statements – Data Control Language Statements are used to grant privileges on tables, views, procedures to other users or roles. – The DCL statements are • GRANK • REVOKE
  • 13. GRANT • Use to grant privileges to other users or roles. • grant select, update, insert on STUDENTS to David;
  • 14. REVOKE • Use to take back privileges granted to other users and roles. • revoke select, update, insert on emp from David;