xviii
Exception Handler............................................................................................................................... 13-40
EXECUTE IMMEDIATE Statement ................................................................................................. 13-42
EXIT Statement .................................................................................................................................... 13-45
Explicit Cursor ..................................................................................................................................... 13-47
Expression............................................................................................................................................. 13-51
FETCH Statement................................................................................................................................ 13-60
FORALL Statement............................................................................................................................. 13-63
Function Declaration and Definition .............................................................................................. 13-66
GOTO Statement................................................................................................................................. 13-70
IF Statement.......................................................................................................................................... 13-71
INLINE Pragma ................................................................................................................................... 13-73
Literal..................................................................................................................................................... 13-76
LOOP Statements ................................................................................................................................ 13-79
NULL Statement .................................................................................................................................. 13-84
OPEN Statement.................................................................................................................................. 13-85
OPEN-FOR Statement ........................................................................................................................ 13-87
Parameter Declaration ........................................................................................................................ 13-90
Procedure Declaration and Definition............................................................................................ 13-92
RAISE Statement ................................................................................................................................. 13-94
Record Definition................................................................................................................................ 13-95
RESTRICT_REFERENCES Pragma ................................................................................................. 13-98
RETURN Statement .......................................................................................................................... 13-100
RETURNING INTO Clause ............................................................................................................ 13-102
%ROWTYPE Attribute..................................................................................................................... 13-105
SELECT INTO Statement ................................................................................................................ 13-107
SERIALLY_REUSABLE Pragma..................................................................................................... 13-111
SQL (Implicit) Cursor Attribute..................................................................................................... 13-113
SQLCODE Function ......................................................................................................................... 13-116
SQLERRM Function ......................................................................................................................... 13-117
%TYPE Attribute ............................................................................................................................... 13-119
Variable ................................................................................................................................................ 13-121
14 SQL Statements for Stored PL/SQL Units
ALTER FUNCTION Statement .......................................................................................................... 14-3
ALTER PACKAGE Statement ............................................................................................................ 14-6
ALTER PROCEDURE Statement ...................................................................................................... 14-9
ALTER TRIGGER Statement ........................................................................................................... 14-11
ALTER TYPE Statement .................................................................................................................... 14-14
CREATE FUNCTION Statement...................................................................................................... 14-27
CREATE PACKAGE Statement ........................................................................................................ 14-36
CREATE PACKAGE BODY Statement .......................................................................................... 14-39
CREATE PROCEDURE Statement................................................................................................... 14-42
CREATE TRIGGER Statement ......................................................................................................... 14-47
CREATE TYPE Statement ................................................................................................................. 14-60
CREATE TYPE BODY Statement .................................................................................................... 14-77
DROP FUNCTION Statement .......................................................................................................... 14-82
DROP PACKAGE Statement ............................................................................................................ 14-84