You are on page 1of 2

PLSQL

Content

PL/SQL
PL/SQL Block 132
Displaying Output on the Terminal 132
Data Types 132
Variable Declaration 132
Dynamic Data Types 136
User Defined Data Types 139
Combined Use of Dynamic And User Defined Data Types 140
Nested Data Type 141
Taking User Input in PL/SQL Blocks 141
Specifying Conditions in PL/SQL Blocks 142
Cursor 144
Attributes of Cursor 144
Implicit Cursor 145
Loops in PL/SQL Blocks 145
Simple Loops 145
For Loops 147
While Loops 148
Cursor In For Loops 148
Cursor In Simple Loops 151
Referencing Implicit Cursor Values 154
Database Triggers 154
Row Level Triggers 155
Statement Level Triggers 156
Addressing the Incoming Values and Existing -
Values of a Field In The Trigger Table 158
User Defined Words to Replace the :NEW and :OLD 166
Viewing the Trigger Text 166
Instead Of Triggers 166
Schema Triggers or DDL Event Triggers 167
Mutating Errors 168
What Is Not Possible 168
Disabling a Trigger 168
Enabling a Trigger 168
Dropping a Trigger 168
Procedures 169
Unnamed Procedures 169
Named Procedures 169
Referencing Remote tables In Procedures 170
Debugging Procedures 171
Executing Named Procedures 172

Thampy Mathew
PLSQL
Content
IN, OUT Parameters in Procedures 172
Viewing The Text of a Named Procedure 173
Dropping a Named Procedure 173
Using Procedures To Activate Triggers 173
Functions 173
Viewing the Text of a Defined Function 180
Dropping a Function 180
Exception Handling 180
User Defined Error Names With Pragma Exceptions 181
User Defined Error Names With RAISE_APPLICATION_ERROR 182
Packages 183
Package Specification 183
Package Body 183
Package Execution 185
Dropping a Package 186
Dropping a Package Body 186
Dynamic SQL
Non-query DDL and DML 188
(CREATE, DROP TRUNCATE; INSERT, UPDATE, DELETE)
Query (SELECT) 190
Anonymous PL/SQL Blocks 191
Example for Combined Use of Different Types of DBMS_SQL 192

Thampy Mathew

You might also like