Advanced Oracle PL/SQL
Home > Computing and Information Technology > Operating systems > Advanced Oracle PL/SQL: Programming with Packages
Advanced Oracle PL/SQL: Programming with Packages

Advanced Oracle PL/SQL: Programming with Packages

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Steven Feuerstein's first book, Oracle PL/SQL Programming, has become the classic reference to PL/SQL, Oracle's procedural extension to its SQL language. His new book looks thoroughly at one especially advanced and powerful part of the PL/SQL language -- the package. The use of packages can dramatically improve your programming productivity and code quality, while preparing you for object-oriented development in Oracle technology. In this book, Feuerstein explains how to construct packages -- and how to build them the right way. His "best practices" for building packages will transform the way you write packages and help you get the most out of the powerful, but often poorly understood, PL/SQL language. Much more than a book, Advanced Oracle PL/SQL Programming with Packages comes with a PC diskette containing a full-use software companion. Developed by Feuerstein, RevealNet's PL/Vision Lite is the first of its kind for PL/SQL developers: a library of thirty-plus PL/SQL packages. The packages solve a myriad of common programming problems and vastly accelerate the development of modular and maintainable applications. The packages provided in PL/Vision Lite fall into three categories: Building block packages: low-level development enhancers, including string parsers, a list manager, and an interface to PL/SQL tables. Developer utilities: programs that improve your PL/SQL development environment, including a code generator, a powerful substitute for SHOW ERRORS, and an online help delivery mechanism. Plug-and-play components: pieces of code that can be used as is in your own applications, including a high-level exception handler mechanism and a generic, reusable logging mechanism. In addition to describing the details of these packages, this book explores why and how they were built the way they were. You'll come away with an increased appreciation of the PL/SQL language and the power of packages. Most importantly, you'll be ready and eager to put that power to use immediately in your own applications.

Table of Contents:
Foreword Preface I: Working With Packages 1: PL/SQL Packages What Is a PL/SQL Package? What Are the Types and Layers of Packages? What Are the Benefits of Packages? Using Packages Types of Packages Building Packages 2: Best Practices for Packages Starting With Packages Using Effective Coding Style for Packages Selecting Package Names Organizing Package Source Code Constructing the Optimal Interface to Your Package Building Flexibility Into Your Packages Building Windows Into Your Packages Overloading for Smart Packages Modularizing for Maintainable Packages Hiding Package Data Simultaneous Construction of Multiple Packages 3: The PL/SQL Development Spiral The Basic Problem Adding Value Supplying Backward Compatibility Improving the User Interface Rough Waters Ahead Building a Structured Function Handling Program Assumptions Broadening the Scope Considering Implementation Options Choosing the Best Performer Don't Forget Backward Compatibility Obliterating the Literals Glancing Backward, Looking Upward II: PL/Vision Overview 4: Getting Started with PL/Vision What Is PL/Vision? PL/Vision Package Bundles Installation Instructions Using Online Help Summary of Files on Disk 5: PL/Vision Package Specifications Common Package Elements p: a DBMS_OUTPUT Substitute PLV: Top-Level Constants and Functions PLVcase: PL/SQL Code Conversion PLVcat: PL/SQL Code Cataloguing PLVchr: Operations on Single Characters PLVcmt: Commit Processing PLVddd: DDL Syntax Dump PLVdyn: Dynamic SQL Operations PLVexc: Exception Handling PLVfile: Operating System I/O Manager PLVfk: Foreign Key Interface PLVgen: PL/SQL Code Generator PLVhlp: Online Help Architechture PLVio: Input/Output Processing PLVlex: Lexical Analysis PLVlog: Logging Facility PLVlst: List Mananger PLVmsg: Message Handling PLVobj: Object Interface PLVprs: String Parsing PLVprsps: PL/SQL Source Code Parsing PLVrb: Rollback Processing PLVstk: Stack Manager PLVtab: Table Interface PLVtkn: Token Table Interface PLVtmr: Program Performance Analyzer PLVtrc: Trace Facility PLVvu: Code and Error Viewing III: Building Block Packages 6: PLV: Top-Level Constants and Functions Null Substitution Value Setting the PL/Vision Date Mask Assertion Routines PLV Utilities The Predefined Datatypes The Predefined Constants 7: p: A Powerful Substitute for DBMS_OUTPUT Using the l Procedure The Line Separator The Output Prefix Controlling Output from p 8: PLVtab: Easy Access to PL/SQL Tables Using PLVtab-Based PL/SQL Table Types Displaying PLVtab Tables Showing Header Toggle Showing Row Number Toggle Setting the Display Prefix Emptying Tables with PLVtab Implementing PLVtab.display 9: PLVmsg: Single-Sourcing PL/SQL Message Text PLVmsg Data Structures Storing Message Text Retrieving Message Text The Restriction Toggle Integrating PLVmsg with Error Handling Implementing load_ from_dbms 10: PLVprs, PLVtkn, and PLVprsps: Parsing Strings PLVprs: Useful String Parsing Extensions PLVtkn: Managing PL/SQL Tokens PLVprsps: Parsing PL/SQL Strings 11: PLVobj: A Packaged Interface to ALL_OBJECTS Why PLVobj? ALL_OBJECTS View Setting the Current Object Accessing ALL_OBJECTS Binding Objects to a Dynamic Cursor Populating a PL/SQL Table with Object Names A Programmatic Cursor FOR Loop Tracing PLVobj Activity 12: PLVio: Reading and Writing PL/SQL Source Code Why PLVio? Code Repositories Supported by PLVio Managing the Source Repository The Source WHERE Clause Managing the Target Repository Reading From the Source Writing to the Target Saving and Restoring Settings Cleaning Up Source and Target 13: PLVfile: Reading and Writing Operating System Files A Review of UTL_FILE Specifying the File in PLVfile Creating and Checking Existence of Files Opening and Closing Files Reading From a File Writing to a File Copying File Contents Displaying File Contents Handling File Errors with PLVfile Tracing PLVfile Activity IV: Developer Utility Packages 14: PLVtmr: Analyzing Program Performance Toggling the Timer Capturing the Start Time Retrieving and Displaying the Elapsed Time Using PLVtmr in Scripts 15: PLVvu: Viewing Source Code and Compile Errors Compiling PL/SQL Code in SQL*Plus Displaying Compile Errors Displaying Source Code Implementing PLVvu 16: PLVgen: Generating PL/SQL Programs Options for Best Practices Code Generated by PLVgen Modifying PLVgen Behavior Implementing PLVgen 17: PLVhlp: Online Help for PL/SQL Programs Who Needs Online Help? Current Sources of Information What Is "Online Help" for Stored Code? Using PLVhlp Implementing PLVhlp 18: PL/SQL Code 469 PLVcase: Converting the Case of PL/SQL Programs PLVcat: Cataloguing PL/SQL Source Code V: Plug-and-Play Packages 19: PLVdyn and PLVfk: Dynamic SQL and PL/SQL About Plug-and-Play Declarative Programming in PL/SQL The Dynamic Packages of PL/Vision PLVdyn: A Code Layer over DBMS_SQL DML Operations PLVfk: Generic Foreign Key Lookups 20: PLVcmt and PLVrb: Commit and Rollback Processing PLVcmt: Enhancing Commit Processing PLVrb: Performing Rollbacks 21: PLVlog and PLVtrc: Logging and Tracing PLVlog: Logging Activity in PL/SQL Programs PLVtrc: Tracing Execution of PL/SQL Programs 22: PLVexc: Exception Handling The Challenge of Exception Handling Application-Specific Exception Packages Implementing PLVexc VI: Testing Your Knowledge Appendix: PL/SQL Exercises Exercises Solutions Index


Best Sellers


Product Details
  • ISBN-13: 9781565922389
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • Returnable: N
  • Weight: 1110 gr
  • ISBN-10: 1565922387
  • Publisher Date: 05 Nov 1996
  • Binding: SA
  • Language: English
  • Sub Title: Programming with Packages
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Advanced Oracle PL/SQL: Programming with Packages
O'Reilly Media -
Advanced Oracle PL/SQL: Programming with Packages
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Advanced Oracle PL/SQL: Programming with Packages

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!