Documente Academic
Documente Profesional
Documente Cultură
ANDHRA PRADESH
Name : M. Bhagya Lakshmi
Designation : Lecturer in CCP
Branch : DCCP
Institute : GMR Polytechnic, Gajwel
Year/Semester : V Semester
Subject : RDBMS
Subject Code : CCP505
Topic : SQL Plus
Duration : 50 Mts
Sub Topic : DATA CONSTRAINTS
Teaching aids : PPT and Animations
CCP505.51 1
Objectives :
CCP505.51 2
Recap :
Overview of SQL:
CCP505.51 3
What are DDL Commands :
DDL commands:
CCP505.51 4
What are the Various DML
Commands :
DML commands:
Insert
Select
Update
Delete
CCP505.51 5
List Out DCL Commands :
Commit
Savepoint
Rollback
GRANT privileges
REVOKE privileges
CCP505.51 6
Know to Unknown :
CCP505.51 7
Integrity Constraints :
CCP505.51 8
Introduction to integrity constraints:
CCP505.51 9
Types of Integrity Constraints :
CCP505.51 10
Domain Integrity Constraints :
CCP505.51 11
Not Null Constraint :
What is null ?
By default the tables can contain null values
The enforcement of not null constraints in a
table ensures that the table contains values
Oracle will not validate the record until this is
satisfied
CCP505.51 12
Check Constraint :
Check means
The other type of constraint available under this
classification is the ‘check’ constraint
This can be defined to allow only a particular
range of values
When the demarcation specified in this range
is violated oracle rejects the record
CCP505.51 13
Summary :
Overview of SQL
Introduction of integrity constraints
Domain integrity constraints
CCP505.51 14
Quiz :
CCP505.51 15
Frequently Asked Questions :
CCP505.51 16