Description
This Oracle 11g training textbook will equip students to develop database server-side PL/SQL program units within an Oracle database. In addition to receiving the print copy of this course book, all students may receive e-Learning modules.
This textbook can be used for advanced self-study, or for instructor-led training in both in-class or virtual-class environments. Textbooks can also be used for ongoing reference long after the course is completed.
Audience
Target audience for this course is all Oracle professionals. Among the specific groups for whom this course will be helpful are: • Application designers and developers • Database administrators
Prerequisites
The following Sideris courses are mandatory prerequisites for this course:
• ORACLE DATABASE 11G R2: SQL FUNDAMENTALS – COMPLETE LIBRARY
• ORACLE DATABASE 11G R2: PL/SQL FUNDAMENTALS I
eTextbook Available
See the list of related eTextbook items for an electronic version of this textbook.
Suggested Next Course
Beyond the scope of this course there are crucial performance tuning and advanced programming structures which are very important to understand and use. These are considered within the follow-up Sideris course. After some weeks or months of PL/SQL programming experience, it is strongly recommended that this additional course be considered. Various references are made to this course throughout this book so that one can see key areas where further detail is useful: ORACLE DATABASE 11G: ADVANCED PL/SQL PROGRAMMING & TUNING
Content Summary
• Volumes: 1
• Pages: 354
• Hands-on Workshops: 9
• Exercises: 56
Certification
This course considers subjects useful for certification as an Oracle Certified Master (OCM), the most advanced and prestigious Oracle database certification level.
Objectives
Major subject areas to be explored and secondary objectives are:
• Understanding application partitioning within a client/server or multi-tiered web-based systems architecture.
• Understanding the basic form and structure of program units stored within the database.
• Building and maintaining database-resident program units.
• Encapsulating program units within packages and taking advantage of accompanying advanced programming techniques such as cursor variables and cursor expressions.
• Handling intricate theoretical challenges, such as mutating tables.
• Building and maintaining DML-event and system-event database triggers, including advanced techniques using both simple triggers and compound triggers.
• Discuss the storage and execution model for database programs and how one can write efficient programs to maximize performance.
• Using system-supplied packages to extend the power of your SQL statements and PL/SQL applications.
Contents
INTRODUCING DATABASE PROGRAM UNITS
• ABOUT DATABASE PROGRAM UNITS
• TYPES OF PL/SQL PROGRAM UNITS
• TYPES OF STORED PROGRAM UNITS
• ADVANTAGES OF USING STORED PROGRAM UNITS
CREATING STORED PROCEDURES & FUNCTIONS
• ABOUT STORED PROCEDURES & FUNCTIONS
• CREATING PROCEDURES & FUNCTIONS
• EXECUTING PROCEDURES & FUNCTIONS
MAINTAINING STORED PROCEDURES & FUNCTIONS
• RECOMPILING & DROPPING PROGRAMS
• DATA DICTIONARY STORAGE
• MANAGING DEPENDENCIES
CREATING & MAINTAINING PACKAGES
• ABOUT PACKAGES
• CREATING PACKAGES
• ADVANCED PROGRAMMING TECHNIQUES
• MAINTAINING PACKAGES
ADVANCED CURSOR TECHNIQUES
• USING CURSOR VARIABLES
• USING CURSOR EXPRESSIONS
USING SYSTEM-SUPPLIED PACKAGES
• DBMS_OUTPUT()
• UTL_FILE()
REATING DATABASE TRIGGERS
• ABOUT DATABASE TRIGGERS
• STATEMENT-LEVEL TRIGGERS
• ROW-LEVEL TRIGGERS
• EXAMPLES OF TRIGGERS
• INSTEAD OF TRIGGERS
• EMPLOYING TRIGGERS WITHIN AN APPLICATION
MAINTAINING DATABASE TRIGGERS
• CALL SYNTAX
• TRIGGER MAINTENANCE TASKS
• SHOW ERRORS TRIGGER
• DROP TRIGGER
• ALTER TRIGGER
• HANDLING MULTIPLE TRIGGERS FOR A TABLE
• HANDLING MUTATING TABLE ISSUES
IMPLEMENTING SYSTEM EVENT TRIGGERS
• WHAT ARE SYSTEM EVENT TRIGGERS?
• DEFINING THE SCOPE
• AVAILABLE SYSTEM EVENTS
• SYSTEM EVENT ATTRIBUTES