1.PL/SQL Concepts
2.General Programming Languagae Fundas
3.SQL in PL/SQL
4.Control Structures
Conditional control
IF Statement
IF-THEN
Example
IT-THEN-ELSE
Example
NULL Condition
Example
ELSIF Statement
Example
Nested IF Statement
Example
CASE
CASE Statement
Example
SEARCHED CASE Statement
Example
CASE Expressions
Example
NULLIF Function
Example
COALESCE Function
Example
Iterative Control
Simple Loops
EXIT STATEMENT
Example
EXIT WHEN STATEMENT
Example
WHILE Loops
Example
Numeric FOR Loops with the IN(REVERSE) Option
Example
CONTINUE
CONTINUE Statement
Example
CONTINUE WHEN Condition
Example
Nested Loops
Example
RETURN
Example
5.PL/SQL BLOCKS
6.Exception Handling
Built-in Exceptions
ACCESS_INTO_NULL-6530
CASE_NOT_FOUND-6592
COLLECTION_IS_NULL-6531
CURSOR_ALREADY_OPEN-6511
DUP_VAL_ON_INDEX-1
INVALID_CURSOR-1001
INVALID_NUMBER-1722
LOGIN_DENIED-1017
NO_DATA_FOUND+100
NO_DATA_NEEDED-6548
NOT_LOGGED_ON-1012
PROGRAM_ERROR-6501
ROWTYPE_MISMATCH-6504
SELF_IS_NULL-30625
STORAGE_ERROR-6500
SUBSCRIPT_BEYOND_COUNT-6533
SUBSCRIPT_OUTSIDE_LIMIT-6532
SYS_INVALID_ROWID-1410
TIMEOUT_ON_RESOURCE-51
TOO_MANY_ROWS-1422
VALUE_ERROR-6502
ZERO_DIVIDE-1476
User-Defined Exceptions
7.CURSORS
Implicit CURSORS
Explicit CURSORS
Declaring the Cursor
CURSOR c_cursor_name IS select statement
RECORD TYPE
Table-based
record_name table_name%ROWTYPE
Cursor-based
record_name cursor_name%ROWTYPE
Programmer-defined
Opening the Cursor
OPEN cursor_name
Fetching the Cursor
FETCH cursor_name INTO PL/SQL variables;
FETCH cursor_name INTO PL/SQL records;
Closing the Cursor
CLOSE cursor_name;
CURSOR Attributes
%NOTFOUND
cursor_name%NOTFOUND
%FOUND
cursor_name%FOUND
%ROWCOUNT
cursor_name%ROWCOUNT
%ISOPEN
cursor_name%ISOPEN
CURSOR FOR Loop
NESTED CURSOR
parameters in a CURSOR
complex nested CURSORS
FOR UPDATE CURSOR
WHERE CURRENT CURSOR
REF CURSOR
8.TRIGGERS
DML Triggers
Statement Level Triggers
Row Level Triggers
syntax
Trigger event
Trigger level
Trigger Restriction
Trigger action
DDL Triggers
DB Tiggers
9.COLLECTIONS
RECORDS
Table Based RECORDS
Cursor Based RECORDS
Programmer Based RECORDS
Nested RECORDS
Collecion Of RECORDS
PL/SQL TABLES
NESTED TABLES
VARRAYS
MULTILEVEL COLLECTIONS
10.PROCEDURES
11.FUNCTIONS
12.PACKAGES