Uploader: Hugo
Country: Singapore
Uploaded: Jul 22, 2018
Price: Free
Rating: Based on 1 user ratings

Please, verify you are not robot to load rest of pages

download scott urman pl sql pdf

Oracle Database 10g
PL/SQL Programming
This page intentionally left blank
Oracle Database 10g
PL/SQL Programming
Scott Urman
Ron Hardman
Michael McLaughlin
New York Chicago San Francisco
Lisbon London Madrid Mexico City Milan
New Delhi San Juan Seoul Singapore Sydney
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Manufactured in the United States
of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may
be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the
prior written permission of the publisher.
The material in this eBook also appears in the print version of this title: 0-07-223066-5.
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner,
with no intention of infringement of the trademark. Where such designations appear in this book, they have been
printed with initial caps.
McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for
use incorporate training programs. For more information, please contact George Hoare, Special Sales, at
[email protected] or (212) 904-4069.
This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licensors reserve all
rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act
of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse
engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or
sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for your own
noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may
be terminated if you fail to comply with these terms.
THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be
uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill
has no responsibility for the content of any information accessed through the work. Under no circumstances shall
McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar
damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such
claim or cause arises in contract, tort or otherwise.
DOI: 10.1036/0072230665
About the Authors
Scott Urman is a Principal Member of Technical Staff in the Diagnostics and Defect
Resolution (DDR) team in Oracle’s Server Technology division. He currently focuses
on the internals of Oracle Text and Oracle Ultrasearch, and has worked with JSP,
JDBC, PL/SQL, and OCI. Prior to joining DDR, he was a Senior Analyst in the
Languages division of Oracle Worldwide Technical Support, focusing on all of
Oracle’s language tools. He has been with Oracle since 1989. He is also the bestselling author of Oracle8i Advanced PL/SQL Programming, Oracle8 PL/SQL
Programming, and Oracle9i PL/SQL Programming.
Ron Hardman, OCP, is a Senior Technical Specialist with Oracle Worldwide
Technical Support. Prior to joining Oracle Corporation, he was an Oracle Database
Developer and Consultant. He is a frequent presenter on the topics of Oracle Text
and Ultrasearch at Oracle User Group conferences, teaches classes on SQL and PL/
SQL, and has published articles with Oracle Magazine and other online magazines
on subjects related to information retrieval.
Michael McLaughlin, D. CS., is the Senior Application Upgrade Manager for
Oracle Applications Release Engineering. He is currently working on the upgrade
architecture for the next release of Oracle Applications. He has worked with PL/SQL
since its first version in Oracle 6, and has authored customer support notes on
customizing Oracle Applications with Pro*C and PL/SQL. He has taught computer
science and information technology at Regis University and Colorado Technical
University, including courses in database development, SQL, PL/SQL, and Java.
About the Technical Editor
Cheryl Riniker is a Senior Technical Specialist with Oracle Worldwide Support in
Oracle’s Bug Diagnosis and Escalation division. She currently works with Oracle
Applications’ Financials Suite of products. She has used PL/SQL in development
projects since 1997, and received her DBA OCP in 2001. She graduated magna
cum laude with an M.A. in English/ESL from Utah State University.
Copyright © 2004 by The McGraw-Hill Companies, Inc. Click here for terms of use.
This page intentionally left blank
This book is dedicated to our
daughter Almarah Rose Urman,
born May 1st, 2004.
—Scott Urman
To my wife Susan, you inspire me.
Thank you for your patience and encouragement.
To my daughter Jessica, and son Joshua, thank you for
your hugs and kisses. They never ran out.
To my parents, thank you for your example.
—Ron Hardman
To my wife Lisa, who is my constant,
and our children Sarah, Joseph, Elise,
Ian, Ariel, Callie, Nathan, and Spencer.
Thank you for your inspiration, patience,
and sacrifice that made my efforts
on this book possible.
—Michael McLaughlin
This page intentionally left blank
Contents at a Glance
1 Introduction to PL/SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Using SQL*Plus and JDeveloper
3 PL/SQL Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .