Overview
Oracle PL/SQL Programming is the first book devoted exclusively to the PL/SQL language, a rich procedural extension to the Oracle RDBMS and to SQL. You'll get the basics -- datatypes, control statements, exception handlers, records, and built-in functions. Beyond these basics, you'll learn the most advanced and powerful language constructs, including PL/SQL tables, cursor variables, and the wide array of built-in packages that extend PL/SQL. The book provides numerous, real-world examples and dozens of utilities you can put to use in your own applications. It also offers guidelines for an effective coding style, as well as the tips and techniques necessary to build modular, maintainable applications.
Devoted entirely to the PL/SQL (Procedural Language extension to SQL), this second edition of Oracle PL/SQL Programming updates the first edition for Oracle8, and includes chapters on new PL/SQL object features (object types, collections, object views, and external procedures). The first three chapters of the book explain what it means to program in PL/SQL, and then walk you through the main features of the language, programming habits, and effective coding style. It then moves on to basic PL/SQL programming components such as variables, cursors, conditional and sequential control statements, loops, exception handlers, PL/SQL records, and PL/SQL tables. Part three of the book covers built-in functions such as character, date, numeric, LOB, and conversion functions that can be put to use immediately in your applications. Moving forward, you will learn how to build procedures, functions, and packages correctly. Chapters 18 through 21 give an in-depth coverage of the new features of Oracle8. Learn about object types, nested tables and VARRAYs, object views, and external procedures. Armed with a summary of helpful tips for effective PL/SQL programming in the real world, part six of the book shows you how to manage your PL/SQL code and debug, tune, and trace the execution of your programs. The text contains numerous examples to guide you as to how, when, and where to apply programming constructs most effectively. Appendices A through C contain a summary of contents on the companion disk, how to call stored procedures from PL/SQL Version 1.1, and how to call Oracle's built-in packages.