Oracle PL - SQL Programming in Simple Steps

Download as pdf or txt
Download as pdf or txt
You are on page 1of 240
amare * An all-inclusive book to teach | * Quick and Easy learning in you everything about Oracle | Simple Steps Cee ST | ee ce - © Easy, Effective, and worldwide for learning Reliable Oracle PL/SQL Programming Oracle PL/SQL Programming ” SIMPLE STEPS Premier12 & 10.1.0.2.0 - Production on Fr C) 1982, 2004, Oracle. All rights t ted to: e Database 18g Enterprise Edition Release the Partitioning, OLAP and Data Mining opt YL> SET SERVEROUTPUT ON QL> CREATE OR REPLACE PROCEDURE salary (eno I! 2 e_sal NUMBER; 9 #=®BEGIN “Gl, Si few Delhi-1 10002 ‘opyright by Dreamtech Press, 19-A, Ansari Road, Daryaganj, ‘This book may not be duplicated in any way without the express written consent af the publisher, except in the form of brief excerpts or quotations for the purposes of review. The information contained herein is for the personal asc of the reader and may not be incorporated in any commercial programs, other books, dalabuses, or any kind of software without written consent of the publisher. Making copies of this book or any portion for any purpose other than: your own is a violation of copyright laws. Limits of Liability disclaimer of Warranty: The author and publisher have used their best efforts in preparing this book. The author make no representation ar warranties with respect to the accuracy or completeness af the contents of this book, and specifically disclaim any implied warranties of merchantability or fimess of any particular purpose. There are no warraatics which extend beyond the descriptions contained in this paragraph, No warranty may be ercated or extended by sales representatives or written sales muferials. The accuracy and completeness af the information provided herein and the opinions stated herein are nat guaranteed ot warranted ‘to produce any particulars results, and the advice and strategies contained herein may not be suitable fur every individual. Neither Dreamteck Press nor author shall be liable for any loss of profit or any other commercial sdamages, including but nat limited to special, incidental, consequential, or other damages, ‘Trademarks: All brand names and product names used in this book are trademarks, registered trademarks, or ‘wade names of their respective holders, Dreamtesh Press is aot associated with any product or vendor mentioned in this book. ISBN: 10-81-7722-855-2 1S-978-81-7722-955.7 Edition: 2008 Printed at: Printmnan India, Patparganj, Delhi, CONTENTS Chapter 1 = (ntroduction to PL/SQL Versions of PL/SQL. Features of PL/SQL PUSQL Block - PUSQL Variables and Constan nts PUSQL Control Structures. Using SOL within PLSOL Exception Handling. New Features added in PUSQL for Oracle 102 PUSQL Architecture in Oracle Summary eee se Describing Block Structure. s Block Header Seal . Execution Section. 1 Exception Section... a Kinds Of BLOCKS oe ssssanensssseasnnnnntnsssnsatnsnssssatitinsssnntsnssnnsnnisnnsnsnnnnensnnenen? Anonymous Blocks...... Nested Blocks. Introducing Datatypes. Number Types... NUMBER. Character and String Tapes os Boolean Types... LOB Types Date, Time, and interval Types. PUSQL Subtypes... 2 Introducing Lexical Units Delimiter ? Identifier: a4 ieee ete nennenneennanannnnstennnnnnnnnnnennnnennenn COMMONS asissansiiiensintensastetnssninsininineinstsnasinssinennissnsnne 3B

You might also like