Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

The Cooperative Development Environment (CDE)
SQL, SQL *PLUS AND PL/SQL
SQL
PL/SQL
SQL *Plus
THE RELATIONAL APPROACH
RELATIONAL OPERATORS
Properties of Tabular Relations
CREATING AND DEFINING TABLE STRUCTURES
Oracle Data Structures
DATA DEFINITATION LANGUAGE (DDL)
Naming a Table :
NAME VALID?
Creation of the EMP table
The NOTNULL Constraint
The DEFAULT Option:
INTEGRITY CONSTRAINTS
Constraints are used:
Constraints are classed as either:
UNIQUE Constraint:
Primary Key Constraints
Other Constraints Options
TABLE MANAGEMENT AND THE DATA DICTIONARY
THE MODIFY CLAUSE:
THE DROP CLAUSE
THE CASCADE OPTION (IN DROP CLAUSE)
THE ENABLED/DISABLE CLAUSE
OTHER DDL COMMANDS
DATA MANIPULATION LANGUAGE
INSERT NEW ROWS INTO A TABLE
UPDATING ROWS
COMMISSION EMP EMPNO COMM EMPNO COMM
JOINING OF TABLES
METHODS OF JOINING
Equi joins
Equi joins with row selection conditions
Join guidelines
Cartesian Joins
Outer Joins
Outer Join Guidelines
Self Joins
Self Join Guidelines
Non-Equi Joins
DELETING ROWS FROM A TABLE
TRANSACTION PROCESSING :
Making Changes Permanent
Removing Unwanted Changes
System Failures
THE SIGNIFICANCE OF TRANSACTION
CONTROLLING TRANSACTIONS WITH SQL STATEMENTS
ROLL BACK[WORK] to [SAVEPOINT] savepoint_name
STATEMENT LEVEL ROLLBACK
Implicit Rollback
Command Description
OVER VIEW OF SQL
Features of SQL
COMMAND DESCRIPTION
WRITING SQL COMMANDS
THE BASIC QUERY BLOCK
DEPTNO ENAME MGR
OTHER ITEMS ON THE SELECT CLAUSE
ARITHMETIC EXPRESSIONS
OPERATORS DESCRIPTION
COLUMN ALIASES
THE CONCATENATION OPERATOR
EMPLOYEE
LITERALS
EMPLOYEE ‘WORKS IN DEPARTMENT’ DEPTNO
HANDLING NULL VALUES
ENAME ANNUAL_SAL
ENAME ANNUALSAL
PREVENTING THE SELECTION OF DUPLICATE ROWS
DEPTNO
THE DISTINCT CLAUSE
DEPTNO JOB
THE ORDER BY CLAUSE
ENAME JOB SAL*12 DEPTNO
DEFAULT ORDERING OF DATA
REVERSING THE DEFAULT ORDER
ENAME JOB HIREDATE
ORDERING BY MANY COLUMNS
DEPTNO JOB ENAME
ORDER BY AND NULL VALUES
WARNING
THE WHERE CLAUSE
LOGICAL OPERATORS
Operator Meaning
ENAME EMPNO JOB DEPTNO
DNAME DEPTNO
COMPARING ONE COLUMN WITH ANOTHER IN THE SAME ROW
ENAME SAL COMM
SQL OPERATORS
The BETWEEN Operator
ENAME SAL
THE IN OPERATOR
EMPNO ENAME SAL MGR
THE LIKE OPERATOR
Symbol Represents
ENAME
IS NULL Operator
ENAME MGR
OPERATOR DESCRIPTION
ENAME SAL
ENAME JOB
ENAME MGR
QUERYING DATA WITH MULTIPLE CONDITIONS
EMPNO ENAME JOB SAL
EMPNO ENAME JOB SAL DEPTNO
EMPNO ENAME JOB SAL DEPTNO
CHARACTER DATATYPES AND CONDITIONS
OPERATOR PRECEDENCE
SELECT SUMMARY
Procedural Language / Structured Query Language
Declaration of variables
Points to be considered while declaring a variable
Declaring Constants
LOOPING STRUCTURES
FOR LOOP
WHILE LOOP
DATA BASE OPERATIONS
EXCEPTION Raised If
CURSORS
CURSOR STATEMENTS: 1) OPEN: OPEN CURSOR NAME;
CURSOR ATTRIBUTES
CURSORS WITH PARAMETERS
CURSORS WITH FOR UPDATE CLAUSE
WHERE CURRENT OF CLAUSE
CURSOR FOR-LOOPS
EXCEPTIONS CLAUSE
ERROR FUNCTIONS
DATABASE TRIGGERS
Classification of Triggers:
Creation of Triggers:
Altering Trigger Definitions:
SUB – PROGRAMS
Example For Database Related Procedure
PACKAGES
Drop Package:
Compiling stored Procedure
Changing Password to a user:
Creating a Schema:
SYNONYM:
CODD RULES
0 of .
Results for:
No results containing your search query
P. 1
Lab

Lab

Ratings: (0)|Views: 34|Likes:
Published by jaya_muni765906

More info:

Published by: jaya_muni765906 on Nov 13, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

11/13/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 9 are not shown in this preview.
You're Reading a Free Preview
Pages 13 to 16 are not shown in this preview.
You're Reading a Free Preview
Pages 20 to 109 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->