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

Table Of Contents

PL/SQL Overview
Features of PL/SQL
Advantages of PL/SQL
Environment
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Final Step
Text Editor
Basic Syntax
The 'Hello World' Example:
The PL/SQL Identifiers
The PL/SQL Delimiters
The PL/SQL Comments
PL/SQL Program Units
Data Types
PL/SQL Scalar Data Types and Subtypes
PL/SQL Numeric Data Types and Subtypes
PL/SQL Character Data Types and Subtypes
PL/SQL Boolean Data Types
PL/SQL Datetime and Interval Types
PL/SQL Large Object (LOB) Data Types
PL/SQL User-Defined Subtypes
NULLs in PL/SQL
Variables
Variable Declaration in PL/SQL
Initializing Variables in PL/SQL
Variable Scope in PL/SQL
Assigning SQL Query Results to PL/SQL Variables
Constants
Declaring a Constant
The PL/SQL Literals
Operators
Arithmetic operators
Arithmetic Operators
Relational Operators
Comparison Operators
LIKE Operator:
BETWEEN Operator:
IN and IS NULL Operators:
Logical Operators
PL/SQL Operator Precedence
Flow Diagram:
Example 1:
Example 2:
Syntax:
Loops
Reverse FOR LOOP Statement
Labeling a PL/SQL Loop
The Loop Control Statements
The EXIT WHEN Statement
Restrictions with GOTO Statement
Strings
Declaring String Variables
PL/SQL String Functions and Operators
Example 1
Example 2
Arrays
Creating a Varray Type
Procedures
Parts of a PL/SQL Subprogram
Creating a Procedure
Executing a Standalone Procedure
Deleting a Standalone Procedure
Parameter Modes in PL/SQL Subprograms
IN & OUT Mode Example 1
IN & OUT Mode Example 2
Methods for Passing Parameters
Positional notation
Named notation
Mixed notation
POSITIONAL NOTATION
NAMED NOTATION
MIXED NOTATION
Functions
Calling a Function
PL/SQL Recursive Functions
Cursors
Implicit cursors
Explicit cursors
Implicit Cursors
Explicit Cursors
Declaring the Cursor
Opening the Cursor
Fetching the Cursor
Closing the Cursor
Records
Table-Based Records
Cursor-Based Records
User-Defined Records
Defining a Record
Accessing Fields
Records as Subprogram Parameters
Exceptions
Syntax for Exception Handling
EXCEPTION
Example
Raising Exceptions
User-defined Exceptions
Pre-defined Exceptions
Triggers
Benefits of Triggers
Triggering a Trigger
Packages
Package specification
Package Specification
Package Body
Using the Package Elements
Example:
THE PACKAGE SPECIFICATION:
CREATING THE PACKAGE BODY:
USING THE PACKAGE:
Collections
Nested Tables
Collection Methods
Collection Exceptions
Transactions
Starting an Ending a Transaction
Committing a Transaction
Rolling Back Transactions
Savepoints
Automatic Transaction Control
Date & Time
Field Values for Datetime and Interval Data Types
The Datetime Data Types and Functions
Examples:
The Interval Data Types and Functions
DBMS Output
DBMS_OUTPUT Subprograms
Object Oriented
Instantiating an Object
Member Methods
Using Map method
0 of .
Results for:
No results containing your search query
P. 1
Plsql Tutorial

Plsql Tutorial

Ratings: (0)|Views: 620|Likes:
Published by alaink2

More info:

Published by: alaink2 on Aug 13, 2013
Copyright:Attribution Non-commercial

Availability:

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

10/22/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 43 are not shown in this preview.
You're Reading a Free Preview
Pages 47 to 98 are not shown in this preview.
You're Reading a Free Preview
Pages 102 to 106 are not shown in this preview.
You're Reading a Free Preview
Pages 110 to 129 are not shown in this preview.

You're Reading a Free Preview

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