Oracle Pl/SQL Programming: Guide to Oracle 8I Features

by
Format: Paperback
Pub. Date: 1999-10-01
Publisher(s): Oreilly & Associates Inc
List Price: $31.45

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Oracle8i, the long-awaited "Internet database" from Oracle Corporation, has hit the streets running--and you may find yourself struggling to keep up with Oracle's fast-moving technology. Oracle boasts that Oracle8i offers more than 150 new features, many of them designed to make its popular database programming language, PL/SQL, faster, more powerful, and easier to use. This concise and engaging book is both a companion to Oracle PL/SQL Programming(widely recognized as the "bible" for PL/SQL developers) and a guide designed to bring you up to speed as quickly as possible on the new PL/SQL features of Oracle8i. Following the style of Feuerstein's earlier books, the Guide to Oracle8i Featurescombines easy-to-understand descriptions of the new Oracle8i features with a wealth of interesting and informative examples. The major Oracle8i PL/SQL features include the following: Autonomous transactions--the ability to commit or roll back changes without affecting the "main" transaction in the rest of your session Invoker rights--At compilation time, you can now decide whether a program (or all programs in a package) should run under the authority of the definer or the invoker of that program Native dynamic SQL--A native implementation of dynamic SQL that's faster and easier than the DBMS_SQL built-in package Bulk binds and collects--A major performance improvement that lets you process multiple rows in a single operation System-level database triggers--With this feature and Advanced Queueing (AQ), you can take advantage of the publish/subscribe capabilities of Oracle8i Fine-grained access control--This feature lets you implement security policies with functions and then use those functions to implement row-level security on tables or views. Many new and enhanced built-in packages--New packages include DBMS_JAVA, DBMS_PROFILER, DBMS_TRACE, and more. DBMS_UTILITY, DBMS_AQ, and others have been enhanced as well. Calling Java methods from within PL/SQL--The book includes enough Java know-how to help you build simple Java classes, load them into the Oracle8i database, and leverage those classes from within your PL/SQL code. Some PL/SQL developers are uneasy about what the introduction of Java means to their applications--and their programming future. But the two languages are expected to work well together in Oracle8i. You'll be able to take advantage of all the power of Java without giving up the performance and usability advantages of PL/SQL! Included with this book is a diskette containing an online tool developed by RevealNet, Inc., that provides point-and-click access to approximately 100 files of reusable source code and examples. The Guide to Oracle8i Featuresshowcases all the powerful new features of Oracle8i designed especially for PL/SQL developers. You'll find it indispensable as you strive to take the fullest possible advantage of everything this exciting new version has to offer. Table of Contents: Oracle8i: A Bounty for PL/SQL Developers Choose Your Transaction! Invoker Rights: Your Schema or Mine? Native Dynamic SQL in Oracle8i Bulking Up with PL/SQL 8.1 New Trigger Features in Oracle8i New and Enhanced Built-in Packages in Oracle8i Deploying Fine-Grained Access Control Calling Java from PL/SQL More Goodies for Oracle PL/SQL Developers

Author Biography

Steven Feuerstein is considered one of the world's leading experts on the Oracle PL/SQL language. He is the author or coauthor of Oracle PL/SQL Programming, Oracle PL/SQL Best Practices, Oracle PL/SQL Programming: Guide to Oracle8i Features, Oracle PL/SQL Developer's Workbook, Oracle Built-in Packages, Advanced Oracle PL/SQL Programming with Packages, and several pocket reference books (all from O'Reilly & Associates). Steven is a Senior Technology Advisor with Quest Software, has been developing software since 1980, and worked for Oracle Corporation from 1987 to 1992.

Table of Contents

Preface xi
Oracle8i: A Bounty for PL/SQL Developers
1(12)
What's in Oracle8i Release 8.1?
1(1)
And Then There's Java
2(1)
New PL/SQL Features Roundup
3(10)
Choose Your Transaction!
13(19)
Transaction Management in PL/SQL
13(1)
Defining Autonomous Transactions
14(2)
When to Use Autonomous Transactions
16(2)
Rules and Restrictions
18(5)
Examples
23(9)
Invoker Rights: Your Schema or Mine?
32(16)
A Look at the Definer Rights Model
32(5)
The Invoker Rights Model
37(3)
One Program, Multiple Schemas
40(5)
Combining the Definer and Invoker Rights Models
45(3)
Native Dynamic SQL in Oracle8i
48(34)
DBMS_SQL Versus NDS
49(2)
NDS Statement Summary
51(5)
Multirow Queries with Cursor Variables
56(7)
Binding Variables
63(6)
Working with Objects and Collections
69(3)
Building Applications with NDS
72(8)
NDS Utility Package
80(2)
Bulking Up with PL/SQL 8.1
82(20)
Context-Switching Problem Scenarios
83(2)
Bulk DML with the FORALL Statement
85(5)
Bulk Querying with the BULK COLLECT Clause
90(6)
Using Cursor Attributes
96(3)
Analyzing the Impact of Bulk Operations
99(3)
New Trigger Features in Oracle8i
102(18)
Triggers on Nested Table View Columns
103(3)
Database-Level Event Triggers
106(10)
Schema-Level Event Triggers
116(4)
New and Enhanced Built-in Packages in Oracle8i
120(33)
DBMS_PROFILER: Providing Code Profiling
122(3)
DBMS_TRACE: Providing a PL/SQL Trace Facility
125(3)
DBMS_RLS: Implementing Fine-Grained Access Control
128(6)
UTL_COLL: Using Collection Locators
134(2)
LOB Enhancements
136(5)
New DBMS_AQ Features
141(10)
New DBMS_UTILITY Features
151(2)
Deploying Fine-Grained Access Control
153(18)
FGAC Components
154(1)
CREATE CONTEXT: Creating Contexts
155(2)
SET_CONTEXT: Setting Context Attribute Values
157(1)
SYS_CONTEXT and LIST_CONTEXT: Obtaining Context Information
158(5)
A Complete FGAC Example
163(8)
Calling Java from PL/SQL
171(39)
Oracle8i and Java
171(2)
Getting Ready to Use Java in Oracle
173(3)
A Simple Demonstration
176(6)
Using loadjava
182(3)
Using dropjava
185(1)
Managing Java in the Database
186(2)
Using DBMS_JAVA and DBMS_JAVA_TEST
188(6)
Publishing and Using Java in PL/SQL
194(8)
Examples
202(8)
More Goodies for Oracle8i PL/SQL Developers
210(25)
The NOCOPY Parameter Mode Hint
211(8)
Calling Packaged Functions in SQL
219(6)
SQL99 Compliance
225(5)
SQL Operations on Collections
230(2)
Miscellaneous and Minor Improvements
232(3)
Appendix: What's on the Companion Disk? 235(4)
Index 239

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.