Request More Info

First Name*:

Last Name*:

Job Title:

Mail Point:

Company*:

Address*:

Town*:

Post Code*:

Country*:
   Codes

Office Telephone*:

E-mail*:

* Required

Information provided will be used to communicate with you about our products.
Privacy Statement

A Learning Tree representative will contact you to follow up your request for information.

Tidsbegränsat erbjudande  – Upp till 40 % RABATT per kurs
 

Oracle® PL/SQL Programming: Hands-On


Course: 4935 dagar

 E-mail   Print   Q&A   PDF   Facebook   Twitter    Se på svenska

Quick Enrol

You Will Learn How To

  • Develop efficient PL/SQL programs to access Oracle databases
  • Create stored procedures and functions for maximum reuse and minimum code maintenance
  • Design modular applications using packages
  • Manage data retrieval for front-end applications
  • Bulk bind collections to increase the speed of data movement operations
  • Invoke native dynamic SQL to develop high-level abstract code

Course Benefits

The Oracle PL/SQL language—a flexible procedural extension to SQL—increases productivity, performance, scalability, portability and security. In this course, you gain the practical knowledge to write PL/SQL programs. You learn to build stored procedures, design and execute modular applications, and increase the efficiency of data movement.

Who Should Attend

Programmers and others working with PL/SQL. A working knowledge of SQL and PL/SQL at the level of Course 926, "Oracle Database 11g Comprehensive Introduction", or Course 593, "Oracle Database 10g Comprehensive Introduction", is assumed.

Hands-On Training

Extensive hands-on exercises provide experience writing modular PL/SQL code. Exercises include:
  • Encapsulating data manipulation statements in stored procedures and packages
  • Performing complex data manipulation with cursors
  • Leveraging EXCEPTIONs to handle runtime errors
  • Creating triggers to handle data integrity and derivation
  • Utilising weak and strong cursor variables for dynamic SQL
  • Denormalising data with user-written functions
  • Creating global variables in bodiless packages for session processing

Course Content

Introduction and Overview

PL/SQL fundamentals

  • Declaring variables
  • Anchoring variables to database definitions
  • Flow control constructs

Oracle10g and 11g PL/SQL features

  • PL/Scope in Oracle 11g
  • CASE statement process flow
  • Referencing PL/SQL records in DML
  • Improving performance with native compilation
  • Handling regular expressions with Oracle 10g functions
  • Compound triggers in Oracle 11g
  • Multiset operators for collections

Data Manipulation Techniques

Maintaining data with DML statements

  • Employing the RETURNING INTO clause
  • Solving the fetch-across-commit problem

Managing data retrieval with cursors

  • Implications of explicit and implicit cursors
  • Cursor attributes
  • Simplifying cursor processing with cursor FOR LOOPs
  • Embedding cursor expressions in SELECT statements

Cursor variables

  • Strong vs. weak cursor variables
  • Passing cursor variables to other programs
  • Defining REF CURSORS in packages

Developing Well-Structured and Error-Free Code

Error handling using EXCEPTIONs

  • Predefined and user EXCEPTIONs
  • Propagation and scope
  • "Retrying" problem transactions with EXCEPTION processing

Debugging PL/SQL blocks

  • Simplifying testing and debugging with conditional compilation
  • Interpreting compiler messages
  • Applying structured testing techniques

Achieving Maximum Reusability

Writing stored procedures and functions

  • Calling and invoking server-side logic
  • Passing input and output parameters
  • Implementing an autonomous transaction
  • Definer rights vs. invoker rights

Coding user-written functions

  • Calling PL/SQL functions from SQL
  • Building table-valued functions

Developing safe triggers

  • Employing :OLD and :NEW bind variables in row-level triggers
  • Implementing complex business rules
  • Avoiding unreliable trigger constructs
  • Exploiting schema and database triggers

Exploiting Complex Datatypes

Collection types

  • PL/SQL tables, nested tables, VARRAYs
  • Stepping through dense and non-consecutive collections

Bulk binding for high performance

  • Moving data into and out of PL/SQL blocks
  • BULK COLLECT INTO
  • FORALL
  • BULK cursor attributes
  • BULK EXCEPTION handling

Invoking Native Dynamic SQL

Finessing the compiler

  • The EXECUTE IMMEDIATE statement
  • The RETURNING INTO clause

Types of dynamic SQL

  • Building SQL statements during runtime
  • Autogenerating standard code

Package Tips and Techniques

  • Package structure: SPEC and BODY
  • Eliminating dependency problems
  • Overloading for polymorphic effects
  • Evaluating application frameworks
  • Bodiless packages for all application definitions
  • Declaring and using persistent global variables

<< Back to Oracle-databaser
 

Related Courses


Oracle is a registered trademark of Oracle Corporation. PL/SQL is a trademark of Oracle Corporation.
Learning Tree AnyWareTM is a trademark of Learning Tree International, Inc. in the United States and other countries, and is covered by a patent application pending in the United States.
 
Oracle PL/SQL Programming

Course Dates

Live online classroom training.Most events below can be taken in-class or live, online from your home or office with AnyWare.
1 - 5 OctStockholm enrol

UK Dates

13 - 17 AugLondon enrol
10 - 14 DecLondon enrol
22 - 26 AprLondon enrol

US Dates

18 - 22 JunWashington, DC enrol
16 - 20 JulNew York enrol
10 - 14 SepWashington, DC enrol
24 - 28 SepWashington, DC enrol
1 - 5 OctNew York enrol
17 - 21 DecNew York enrol

For AnyWare enrollments, please register at least 7 days prior to the start of the course.

More Dates and Locations.

 

On-Site &
Custom Training

Bring this or any Learning Tree course to your location or have it customized for your organization.

 

Kursdeltagarnas genomsnittsbedömning

De senaste 12 månadernas bedömningar

5 stjärnor:
77 %
4 stjärnor:
23 %
3 stjärnor:
0 %
2 stjärnor:   0 %
1 stjärna:   0 %



Certification Core Course
 
What You Need to Know About Oracle 11g
 
Oracle 10g : An Introduction