Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Introduction to Oracle9i PL-SQL Vol 2

Introduction to Oracle9i PL-SQL Vol 2



|Views: 219|Likes:
Published by deepaliarv

More info:

Published by: deepaliarv on Feb 03, 2009
Copyright:Attribution Non-commercial


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


Introduction to Oracle9
Student Guide
Volume 2
40054GC10Production 1.0June 2001D32946
Copyright © Oracle Corporation, 1999, 2000, 2001. All rights reserved.
This documentation contains proprietary information of Oracle Corporation. It isprovided under a license agreement containing restrictions on use and disclosure andis also protected by copyright law. Reverse engineering of the software is prohibited.If this documentation is delivered to a U.S. Government Agency of the Department ofDefense, then it is delivered with Restricted Rights and the following legend isapplicable:
Restricted Rights Legend
Use, duplication or disclosure by the Government is subject to restrictions forcommercial computer software and shall be deemed to be Restricted Rights softwareunder Federal law, as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013,Rights in Technical Data and Computer Software (October 1988).This material or any portion of it may not be copied in any formor by any meanswithout the express prior written permission of Oracle Corporation. Any other copyingis a violation of copyright law and may result in civil and/or criminal penalties.If this documentation is delivered to a U.S. Government Agency not within the
Department of Defense, then it is delivered with “Restricted Rights,” as defined inFAR 52.227-14, Rights in Data-General, including Alternate III (June 1987).The information in this document is subject to change without notice. If you find anyproblems in the documentation, please report them in writing to Education Products,Oracle Corporation, 500 Oracle Parkway, Box SB-6, Redwood Shores, CA 94065.Oracle Corporation does not warrant that this document is error-free.All references to Oracle and Oracle products are trademarks or registered trademarksof Oracle Corporation.All other products or company names are used for identification purposes only, andmay be trademarks of their respective owners.
Nagavalli PataballaPriyaNathan
Technical Contributorsand Reviewers
Anna AtkinsonBryan RobertsCarolinePeredaCesljas ZarcoChaya RaoColey WilliamDaniel GabelDr.Christoph BurandtHakan LindforsHelen RobertsonJohn Hoff Judy Brink Lachlan WilliamsLaszlo CzinkoczkiLauraPezziniLindaBoldtMarcoVerbeek Natarajan SenthilPriya VennapusaRobert SquiresRogerAbuzalaf Ruediger SteffanSarah JonesStefanLindbladSueOnraetSusan Dee
PrefaceCurriculum MapIntroduction
Course Objectives I-2About PL/SQL I-3PL/SQL Environment I-4Benefits of PL/SQL I-5Benefits of Subprograms I-10Invoking Stored Procedures and Functions I-11Summary I-12
1 Declaring Variables
Objectives 1-2PL/SQL Block Structure 1-3Executing Statements and PL/SQL Blocks 1-4Block Types 1-5Program Constructs 1-6Use of Variables 1-7Handling Variables in PL/SQL 1-8Types of Variables 1-9UsingiSQL*Plus Variables Within PL/SQL Blocks 1-10Types of Variables 1-11Declaring PL/SQL Variables 1-12Guidelines for Declaring PL/SQL Variables 1-13Naming Rules 1-14Variable Initialization and Keywords 1-15Scalar Data Types 1-17Base Scalar Data Types 1-18Scalar Variable Declarations 1-22The %TYPE Attribute 1-23Declaring Variables with the %TYPE Attribute 1-24Declaring Boolean Variables 1-25Composite Data Types 1-26LOB Data Type Variables 1-27Bind Variables 1-28Using Bind Variables 1-30Referencing Non-PL/SQL Variables 1-31DBMS_OUTPUT.PUT_LINE 1-32Summary 1-33Practice 1 Overview 1-35

You're Reading a Free Preview

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