Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CourseHorse

Oracle Database: PL/SQL Fundamentals (Live Online)

via CourseHorse

Overview

This course introduces one to Oracle database programming using the PL/SQL programming language. One will learn the syntax, structure and features of the language. This textbook will also lay the foundation for the entire Sideris Oracle PL/SQL programming series, allowing one to progress from introductory topics to advanced application design and programming and finally onto writing complex high-performance applications.

PL/SQL may be considered as one of the basic skill sets required for any Oracle professional, nearly as important as the SQL language itself.

This course will also continue on to show those who are now ready to employ the language in the development of database applications. In particular, the focus of this course will be on the use of database-resident stored program units such as procedures, functions, packages and database triggers. New features introduced with the Oracle 12c release of the database are also explained and demonstrated.

This course content is applicable to versions 12c, 18c, and 19c.

Target Audience

The target audience for this textbook is all Oracle professionals. Among the specific groups for whom this textbook will be helpful are:

• Application designers and database developers

• Database administrators

• Web server administrators

Prerequisites

Oracle Database 12c: SQL Fundamentals

Certification

This course considers subjects applicable to certification as both an Oracle PL/SQL Developer Certified Associate (OCA) and an Oracle Advanced PL/SQL Developer Certified Professional (OCP). The topics considered are included within "Exam 1Z0-144: Program With PL/SQL".

Objectives

This course begins with an explanation of the intent and usage of the PL/SQL programming language for database applications. Important reasons why one should incorporate PL/SQL modules within the application architecture right from the initial design and planning phase are presented. Next one learns how to begin building executable PL/SQL program units. One learns about each of the major segments of a working program and how these interact with each other during program execution, including the important error or exception handling capabilities of the language. The final section goes beyond the basics and begins to explore advanced topics that will be useful later in the Sideris Oracle PL/SQL developer textbook series. One learns techniques and features that allow modular and reusable programs to be developed, increasing productivity and maintainability of database applications.

In addition, this course explains how database-resident program units can be used as part of the overall database application architecture and the benefits realized by doing so. It then builds upon one's knowledge of database-resident program units and applies these to the development of PL/SQL packages. In a production environment most PL/SQL program units should be packaged, and these advanced database programming capabilities along with the benefits of using these are discussed. It concludes with extensive demonstrations on how a particular type of database-resident program unit known as a database trigger can be used as part of an advanced database application design.

Course Outline

Selection & Setup Of The Database Interface

•      Considering Available Tools

•      Selecting The Appropriate Tool

•      Oracle Net Database Connections

•      Oracle Paas Database Connections

•      Setup SQL Developer

•      Setup QLql*Plus

•      Setup Jdeveloper

About Bind & Substitution Variables

•      Using SQL Developer

•      Using SQL*Plus

Choosing A Database Programming Language

•      What Is Database Programming?

•      PL/SQL Performance Advantages

•      Integration With Other Languages

PL/SQL Language Fundamentals

•      PL/SQL Program Structure

•      Language Syntax Rules

•      Embedding SQL

•      Writing Readable Code

•      Generating Database Output

•      SQL*Plus Input Of A Program Block

Declare Section

•      About The Declare Section

•      Declare Primitive Types

•      Declaration Options

•      Not Null

•      Constant

•      Data Dictionary Integration

•      %Type

•      Declare Simple User-Defined Types

•      Type ... Table

•      Type ... Record

•      Extended User-Defined Types

Begin Section

•      About The Begin Section

•      Manipulating Program Data

•      Logic Control & Branching

•      Goto

•      Loop

•      If-Then-Else

•      Case

Exception Section

•      About The Exception Section

•      Isolating The Specific Exception

•      Pragma Exception_Init

•      Sqlcode & Sqlerrm Example

•      SQL%Rowcount & Select...Into

Beyond The Basics: Explicit Cursors

•      About Explicit Cursors

•      Extended Cursor Techniques

•      For Update Of Clause

•      Where Current Of Clause

•      Using For…Loop Cursors

Introducing Database-Resident Program Units

•      About Database-Resident Programs

•      Physical Storage & Execution

•      Types Of Stored Program Units

•      Stored Program Unit Advantages

•      Modular Design Principles

Creating Stored Procedures & Functions

•      Stored Procedures & Functions

•      Create Procedure / Create Function

•      Creating Procedures & Functions

•      Raise_Salary() Procedure

•      Salary_Valid() Function

•      The Parameter Specification

•      Default Clause

•      System & Object Privileges

•      Using The Development Tools

Executing Stored Procedures & Functions

•      Calling Procedures & Functions

•      Unit Testing With Execute

•      Anonymous Block Unit Testing

•      Specifying A Parameter Notation

•      Sql Worksheet Unit Testing

•      Calling Functions From Sql

Maintaining Stored Program Units

•      Recompiling Programs

•      Mass Recompilation Using Utl_Recomp()

•      Dropping Procedures & Functions

•      Drop Procedure / Function

•      Data Dictionary Metadata

•      Using User_Objects

•      Using User_Source

•      Using User_Errors

•      Using User_Object_Size

•      Using User_Dependencies

Managing Dependencies

•      Dependency Internals

•      Tracking Dependencies

•      The Dependency Tracking Utility

•      Sql Developer Dependency Info

•      Dependency Strategy Checklists

Creating & Maintaining Packages

•      About Packages

•      Creating Packages

•      Maintaining Packages

•      Performance Considerations

Advanced Package Capabilities

•      Definer & Invoker Rights

•      White Lists & Accessible By

•      Persistent Global Objects

•      Defining Initialization Logic

•      Object Orientation Support

Advanced Cursor Techniques

•      Using Cursor Variables

•      Using Sys_Refcursor

•      Using Cursor Expressions

Using System-Supplied Packages

•      Dbms_Output()

•      Utl_File()

•      Fopen() Example

Database Trigger Concepts

•      About Database Triggers

•      Dml Event Trigger Sub-Types

•      Database Trigger Scenario

•      Trigger Execution Mechanisms

•      Triggers Within Sql Worksheet

Creating Database Triggers

•      Statement-Level Triggers

•      Using Raise_Application_Error()

•      Row-Level Triggers

•      Examples Of Triggers

•      Employee_Salary_Check Example

•      Employee_Journal Example

•      Budget_Event Example

•      Instead Of Triggers

•      Triggers Within An Application

Maintaining Database Triggers

•      Call Syntax

•      Trigger Maintenance Tasks

•      Show Errors Trigger

•      Drop Trigger

•      Alter Trigger

•      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


Taught by

ONLC Training Centers

Reviews

4.3 rating at CourseHorse based on 7 ratings

Start your review of Oracle Database: PL/SQL Fundamentals (Live Online)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.