Documente Academic
Documente Profesional
Documente Cultură
Upload
enChange Language
Home
Saved
Bestsellers
Books
Audiobooks
Snapshots
Magazines
Documents
Sheet Music
Jump to Page
1
136 views
04 Advanced PL-SQL I
Uploaded by
G
Date uploaded
Description:
04 Advanced PL-SQL I
Full description
Related titles
Carousel Next
Oracle 12c PL-SQL
01 PL-SQL Fundamentals.pdf
Oracle Database SQL Fundamentals I - Practice
D89113GC10_ag
D66519GC20_sg
Oracle_Database_12c__Security_Instructor_Guide.pdf
Oracle Database 12C SQL WORKSHOP 2 - Student Guide Volume 2.pdf
D78850GC20_ag
1 Oracle Recertification
255504251-Oracle-Database-12c-Clusterware-Administration-Student-guide.pdf
Oracle Database 12C Backup and Recovery Workshop. Student Guide – Volume 11
Oracle Database 12c: SQL Workshop I - Activity Guide
D86898GC10_sg2
D79236GC10_sg2.pdf
Jump to Page
1
: Advanced
PL/SQL
Student Guide - Volume
I
D80343GC10 Edition
1.0 April 2014
D86295
Copyright © 2014,Oracle
and/or its affiliates. All
rights reserved.Disclaimer
This document contains
proprietary information
and is protected by
copyright and other
intellectual property laws.
You may copy and print
this document solely for
your own use in an Oracle
training course. The
document may not be
modified or altered in any
way. Except where your
use constitutes "fair use"
under copyright law, you
may not use, share,
download, upload, copy,
print, display, perform,
reproduce, publish,
license, post, transmit, or
distribute this document in
whole or in part without
the express authorization
of Oracle.The information
contained in this document
is subject to change
without notice. If you find
any problems in the
document, please report
them in writing to: Oracle
University, 500 Oracle
Parkway, Redwood Shores,
California 94065 USA. This
document is not warranted
to be error-free.
Restricted Rights Notice
If this documentation is
delivered to the United
States Government or
anyone using the
documentation on behalf
of the United States
Government, the following
notice is applicable: U.S.
GOVERNMENT RIGHTSThe
U.S. Government’s rights
to use, modify, reproduce,
release, perform, display,
or disclose these training
materials are restricted by
the terms of the applicable
Oracle license agreement
and/or the applicable U.S.
Government contract.
Trademark Notice
Oracle and Java are
registered trademarks of
Oracle and/or its affiliates.
Other names may be
trademarks of their
respective owners.
Author
Sharon Sophia
Stephen
Technical
Contributors and
Reviewers
Branislav ValnyBrent
DayleyKrishnanjani
ChittaLaszlo
CzinkoczkiNancy
GreenbergSailaja
PasupuletiSwarnapriy
a Shridhar Wayne
Abbott
Editors
Aju Kumar Raj
Kumar
Graphic Designer
Divya Thallap
Publishers
JosehFernandezJay
anthy
KeshavamurthyVeena
Narasimhan
iii
Contents
1 Introduction
Course Objectives
1-2 Lesson Agenda
1-3 Course Agenda
1-4 Appendixes
Used in This Course
1-5 Lesson Agenda
1-6 Development
Environments:
Overview 1-7 What
Is Oracle SQL
Developer? 1-8
Coding PL/SQL in
SQL*Plus 1-9 Lesson
Agenda 1-10 Tables
Used in This Course
1-11 Order Entry
Schema 1-12
Human Resources
Schema 1-14 Oracle
SQL and PL/SQL
Documentation 1-
15 Summary 1-16
Practice 1
Overview: Getting
Started 1-17
2 PL/SQL
Programming
Concepts: Review
Objectives 2-2 Pre-
Quiz 2-3 Lesson
Agenda 2-11 PL/SQL
Block Structure 2-12
Naming
Conventions 2-13
Procedures 2-15
Procedure: Example
2-16 Stored
Functions 2-17
Functions: Example
2-18 Ways to
Execute Functions
2-19 Lesson Agenda
2-20 Restrictions on
Calling Functions
from SQL
Expressions 2-21
Lesson Agenda 2-23
PL/SQL Packages:
Review 2-24
Components of a
PL/SQL Package 2-
25 Creating the
Package
Specification 2-26
Creating the
Package Body 2-27
iv
Lesson Agenda 2-28
Cursor 2-29
Processing Explicit
Cursors 2-31 Explicit
Cursor Attributes 2-
32 Cursor FOR
Loops 2-33 Cursor:
Example 2-34
Lesson Agenda 2-35
Handling Exceptions
2-36 Exceptions:
Example 2-38
Predefined Oracle
Server Errors 2-39
Predefined Oracle
Server Exceptions 2-
40 Trapping Non-
Predefined Oracle
Server Errors 2-42
Trapping User-
Defined Exceptions
2-44 Lesson Agenda
2-45
RAISE_APPLICATION
_ERROR Procedure
2-46 Lesson Agenda
2-48 Dependencies
2-49 Displaying
Direct and Indirect
Dependencies 2-51
Lesson Agenda 2-52
Using Oracle-
Supplied Packages
2-53 Some of the
Oracle-Supplied
Packages 2-54
DBMS_OUTPUT
Package 2-55
UTL_FILE Package 2-
56 Summary 2-57
Practice 2:
Overview 2-58
3 Designing PL/SQL
Code
Objectives 3-2
Lesson Agenda 3-3
Guidelines for
Cursor Design 3-4
Lesson Agenda 3-10
Cursor Variables:
Overview 3-11
Working with
Cursor Variables 3-
12 Strong Versus
Weak REF CURSOR
Variables 3-13 Step
1: Defining a REF
CURSOR Type 3-14
Step 1: Declaring a
Cursor Variable 3-15
Step 1: Declaring a
REF CURSOR Return
Type 3-16 Step 2:
Opening a Cursor
Variable 3-17 Step
3: Fetching from a
Cursor Variable 3-19
Step 4: Closing a
Cursor Variable 3-20
Passing Cursor
Variables as
Arguments 3-21
You're reading a previewUnlock full access (pages 7-77) by
uploading documents or with a 30 Day Free Trial
You're reading a previewUnlock full access (pages 84-123)
by uploading documents or with a 30 Day Free Trial
You're reading a previewUnlock full access (pages 130-175)
by uploading documents or with a 30 Day Free Trial
You're reading a previewUnlock full access (pages 182-187)
by uploading documents or with a 30 Day Free Trial
You're reading a previewUnlock full access (pages 194-344)
by uploading documents or with a 30 Day Free Trial
Reward Your Curiosity
Everything you want to read.
Sharing Options
Share on Facebook, opens a new window
Share on Twitter, opens a new window
Share on LinkedIn, opens a new window
Share with Email, opens mail client
Copy Text
Related Interests
Pl/Sql
Sql
Subroutine
Oracle Database
Java (Programming Language)
Uploaded by
Indra Ai
Uploaded by
fisianthony
01 PL-SQL Fundamentals.pdf
Uploaded by
G
Uploaded by
AbdurRahman
D89113GC10_ag
Uploaded by
trungquan710
D66519GC20_sg
Uploaded by
aeterom
Oracle_Database_12c__Security_Instructor_Guide.pdf
Uploaded by
sherif adf
Uploaded by
Kuldeep Singh
Uploaded by
Manuel Rafael
Uploaded by
francdy
D78850GC20_ag
Uploaded by
suicide_king
Uploaded by
Mohamed El-Tokhy
1 Oracle Recertification
Uploaded by
Oracle Database 12C Administration Workshop Student Guide Volume II
Uploaded by
amalkumar
Uploaded by
Kuldeep Singh
255504251-Oracle-Database-12c-Clusterware-Administration-Student-guide.pdf
Uploaded by
Carlos Ojeda
Oracle Database 12C Backup and Recovery Workshop. Student Guide – Volume 11
Uploaded by
amalkumar
Uploaded by
Perico Palotes
D86898GC10_sg2
Uploaded by
gagana sahana
D79236GC10_sg2.pdf
Uploaded by
ChakravarthyArthurMoodyPothuraju
Uploaded by
loafer555
D83171GC10_ag
Uploaded by
Erik B
D79232GC10_sg2
Uploaded by
NTGDN
D80149GC11_sg2_fti GUIDE_2.pdf
Uploaded by
FranciscoGazmuriBañados
D80182GC10_ag
Uploaded by
Rasesh Shah
D79232GC10_sg1
Uploaded by
NTGDN
Uploaded by
amalkumar
D80149GC11_sg1_fti GUIDE_1.pdf
Uploaded by
FranciscoGazmuriBañados
Uploaded by
Ignacio Valenzuela
D78846GC20_ag
Uploaded by
mahendra.lal71373
More From G
Carousel Next
Uploaded by
CyBOKScopeV2
Uploaded by
G
Internal control
Uploaded by
Control.pdf
Uploaded by
State of Cybersecurity 2018 Part 2 Res Eng 0618
Uploaded by
Uploaded by
Control Interno.doc
Uploaded by
G
ExecutionInternalcontrol.doc
Uploaded by
Cybersecurity_Definition_Gaps_v1_0.pdf
Uploaded by
CIS_Debian_Linux_8_Benchmark_v1.0.0.pdf
Uploaded by
G
Uploaded by
data_sheet_c78-726680
Uploaded by
Footer Menu
Back To Top
About
About Scribd
Press
Our blog
Join our team!
Contact Us
Invite Friends
Gifts
Support
Help / FAQ
Accessibility
Purchase help
AdChoices
Publishers
Legal
Terms
Privacy
Copyright
Social Media
o
o
o
o
Related titles
Carousel Next
01 PL-SQL Fundamentals.pdf
D89113GC10_ag
D66519GC20_sg
Oracle_Database_12c__Security_Instructor_Guide.pdf
Oracle Database SQL Fundamentals II.pdf
D78850GC20_ag