Code: 
D65651
Duration: 
3-5 Day(s)
Price: 
£1195-2499

Overview

In this course, students learn to use the advanced features of PL/SQL in order to design and tune PL/SQL to interface with the database and other applications in the most efficient manner. Using advanced features of program design, packages, cursors, extended interface methods, large objects, and collections, students learn to write powerful PL/SQL programs. Also learn programming efficiency, use of external C and Java routines, fine-grained access and safeguarding your code against SQL Injection attacks.

Audience

  • Developer
  • Application Developers
  • PL/SQL Developer

Skills Gained

  • Write code to interface with external applications and the operating system
  • Create PL/SQL applications that use collections
  • Implement a virtual private database with fine-grained access control
  • Write code to interface with large objects and use SecureFile LOBs
  • Safeguard code against SQL injection attacks
  • Design PL/SQL packages and program units that execute efficiently

Prerequisites

Required Prerequisites:

  • Oracle Database 11g: Introduction to SQL
  • Oracle Database 11g: Program with PL/SQL

Suggested Prerequisites:

  • Experience with SQL and PL/SQL required
  • Familiarity with the Oracle Database

Course Specifics

Course Outline

Overview of the Development Environments

  • SQL Developer
  • SQL*Plus

Design Considerations

  • Describe the predefined data types
  • Create subtypes based on existing types for an application
  • List the different guidelines for cursor design
  • Use cursor variables
  • Pass cursor variables as program parameters
  • Compare cursor variables to static cursors

Using Collections

  • Overview of collections
  • Use Associative arrays
  • Use Nested tables
  • Use Varrays
  • Write PL/SQL programs that use collections
  • Use Collections effectively

Using Advanced Interface Methods

  • Calling C from PL/SQL
  • Calling Java from PL/SQL

Implementing VPD with Fine-Grained Access Control

  • Understand how fine-grained access control works overall
  • Describe the features of fine-grained access control
  • Describe an application context
  • Create an application context
  • Set an application context
  • List the DBMS_RLS procedures
  • Implement a policy
  • Query the dictionary views holding information on fine-grained access

Manipulating Large Objects

  • Describe a LOB object
  • Manage internal LOBs
  • Describe BFILEs
  • Create and use the DIRECTORY object to access and use BFILEs
  • Describe the DBMS_LOB package
  • Remove LOBs
  • Create a temporary LOB programmatically with the DBMS_LOB package

Administering SecureFile LOBs

  • Introduction to SecureFile LOBs
  • Enable the environment for SecureFile LOBs
  • Use SecureFile LOBs to store documents
  • Convert BasicFile LOBs to SecureFile LOB format
  • Examine the performance of SecureFile LOBs
  • Enable deduplication and compression
  • Enable encryption

Tuning and Performance

  • Understand and influence the compiler
  • Tune PL/SQL code
  • Enable intra unit inlining
  • Identify and tune memory issues

Improving Performance with SQL and PL/SQL Caching

  • Describe result caching
  • Use SQL query result cache
  • PL/SQL function cache

Analyzing PL/SQL Code

  • Use the supplied packages and dictionary views to find coding information
  • Determine identifier types and usages with PL/Scope
  • Use the DBMS_METADATA package to obtain metadata from the data dictionary as XML or creation DDL that can be used to re-create the objects

Profiling and Tracing PL/SQL Code

  • Trace PL/SQL program execution
  • Profile PL/SQL applications

Safeguarding Your Code Against SQL Injection Attacks

  • Describe SQL injections
  • Reduce attack surfaces
  • Use DBMS_ASSERT
  • Design immune code
  • Test code for SQL injection flaws

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

Upcoming Dates

Course Location Days Cost Date
London
3 2499 £2499 2018-09-17
London
5 1495 £1495 2018-05-21
London
3 1195 £1195 2018-05-09
London
5 1495 £1495 2018-04-09
London
5 1495 £1495 2018-02-26
London
3 1195 £1195 2018-02-05
London
5 1495 £1495 2018-01-15
London
5 1675 £1675 2017-12-11
London
3 2499 £2499 2017-12-11
London
5 1675 £1675 2017-12-11
London
5 1495 £1495 2017-12-04
London
3 1195 £1195 2017-11-22
London
3 1195 £1195 2017-11-22
London
5 1675 £1675 2017-11-20
London
5 1675 £1675 2017-11-20
London
3 2499 £2499 2017-11-13
Birmingham
5 1675 £1675 2017-11-13
London
5 1675 £1675 2017-11-06
Leeds
5 1675 £1675 2017-10-23
London
5 1495 £1495 2017-10-23
London
5 1495 £1495 2017-10-23
London
5 1675 £1675 2017-10-16
London
5 1675 £1675 2017-10-16
London
3 2499 £2499 2017-10-09