ORACLE THEORY
ORACLE THEORY
ORACLE is an RDBMS. RDBMS stands for Relational Data Base Management System. An RDBMS is a
computer program, which provides the user the facility to store and retrieve data in a manner consistent
with a defined model, called the Relational model.
INTRODUCTION TO RDBMS:
An RDBMS is a computer program, which provides the user the facility to store and retrieve data in a
manner consistent with a defined model, called the Relational model. It has three components:
DATA STRUCTURE:
The fundamental rule of the relational model is that the data is seen as tables. A table is formally
referred to as a relation. Every relation has the same structure-i.e. the same number of columns and
rows. Each column which represents a attribute of the relation must be unique. Example:
DATA INTEGRITY:
The relational model also provides data integrity, which means that the data is accepted based on
certain rules and therefore, data is valid. Example: ORACLE will ensure that roll numbers of the students
in the file is unique. Data integrity is maintained using a set of rules referred to as integrity constraints.
DATA MANIPULATION:
In order to create tables and manipulate the data within tables, Oracle provides the database access
language, called SQL. SQL stands for Structured Query Language. It is a database language to help users
to extract information from a database easily. Oracle supports distributed databases which means that
many physically separate databases can appear to the users as a single database.
TRIGGERS:
Triggers are blocks of PL/SQL code written by users for a specific table. This code is triggered(or fired or
executed) when any INSERT,DELETE or UPDATE operation is performed on the table. It also helps in
performing complex security checking.