Oracle 19c PL/SQL Fundamentals (TTOR12019)

Gain the Core Skills Required to Setup, Run and Manage Databases using PL/SQL and Oracle Database Technology

TTOR12019

Introductory

3 Days

Course Overview

Oracle 19c PL/SQL Fundamentals is a three-day, hands-on technical course that introduces Oracle database programming using the PL/SQL programming language. Throughout the course students will explore the core syntax, structure and features of the language. This course will also lay the foundation for the entire 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. The course also explores applying the newly learned skills to the development of database applications. Participants will learn how to use database-resident stored program units such as procedures, functions, packages and database triggers. Students will also learn about the latest features in Oracle 19c.

Working within in a hands-on learning environment, guided by our expert team, attendees will develop a practical approach to Oracle Database Technology. Throughout the course participants will explore:
•    Using PL/SQL programming language for database applications and development
•    incorporating PL/SQL modules within the application architecture from the initial design and planning phase
•    The essentials of building executable PL/SQL program units
•    Each of the major segments of a workin g program and how these interact with each other during program execution,
•    Important error or exception handling capabilities of the language.
•    How database-resident program units can be used as part of the overall database application architecture
•    Applying these new skills to the development of PL/SQL packages.
•    Advanced database programming capabilities and benefits
•    How database triggers can be used as part of an advanced database application design

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional Oracle, database, scripting, administration, programming, security and other related topics that may be blended with this course for a track that best suits your needs.

NOTE: This training is NOT Official Oracle University training. This is independent, adjustable content that aligns with current topics, skills and tools that participants need to excel in these areas. 

Course Objectives

Working within in a hands-on learning environment, guided by our expert team, attendees will develop a practical approach to Oracle Database Technology. Throughout the course participants will explore:
•    Using PL/SQL programming language for database applications and development
•    incorporating PL/SQL modules within the application architecture from the initial design and planning phase
•    The essentials of building executable PL/SQL program units
•    Each of the major segments of a workin g program and how these interact with each other during program execution,
•    Important error or exception handling capabilities of the language.
•    How database-resident program units can be used as part of the overall database application architecture
•    Applying these new skills to the development of PL/SQL packages.
•    Advanced database programming capabilities and benefits
•    How database triggers can be used as part of an advanced database application design

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional Oracle, database, scripting, administration, programming, security and other related topics that may be blended with this course for a track that best suits your needs.

Course Prerequisites

This course is geared for anyone needing to interface with an Oracle database such as end users, business analysts, application developers and database administrators / DBAs. Attendees should have incoming basic SQL experience, as well as an understanding of databases (required to manipulate it with PL/SQL).

 

Take Before: Attendees should have skills equivalent to the topics in the course listed below:

  • TTSQL003     Introduction to Writing SQL Queries

Please see the Related Courses tab for Pre-Requisite course specifics and links, links to similar courses you might review as an alternative, as well as suggested Next-Step Follow-On Courses and Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

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 SQL *Plus
  • Setup JDeveloper
  • About BIND and Substitution Variables
  • Using SQL Developer
  • Using SQL *Plus

Choosing a Database Programming Language

  • What is Database Programming
  • PL/SQL Programming
  • PL/SQL Performance Advantages
  • Integration with Other Languages

PL/SQL Language Essentials

  • PL/SQL Program Structure
  • Language Syntax Rules
  • Embedding SQL
  • Writing Readable Code
  • Generating Readable Code
  • Generating Database Output
  • SQL * Plus Input of 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 & Braching
  • 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
  • Extend Cursor Techniques
  • For Update of Clause
  • Where Current of Clause
  • Using for … Loop Cursors

Introduction Database Resident Programming Units

  • About Database – Resident Programs
  • Physical Storage & Execution
  • Types of Stored Program Units
  • Stored Program Unit Advantages
  • Modular Design Principles

Creating Stored Procedures and 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 and 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 Programming Units

  • Recompiling Programs
  • Mass Recompilation Using UTL_RECOMP()
  • Dropping Procedures & Functions
  • Drop 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

  • About Packages
  • Creating Packages
  • Maintaining Packages
  • Performance Considerations

Advanced Package Capabilities

  • Definer & Invoker Rights
  • White Lists & Accessible By
  • Persistent Global Objects
  • Defining Initilization 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 Exhaustion Mechanisms
  • Trigger 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 and 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

Course Materials

Student Materials: Each participant will receive a digital Student Guide and/or Course Notes, code samples, software tutorials, step-by-step written lab instructions (as applicable), diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. In some cases we can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Course Recordings, Live Instructor Follow-on Support, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Oracle 19c PL/SQL Fundamentals (TTOR12019) 3 Days May 13 to May 15 10:00 AM to 06:00 PM EST $2,195.00 Enroll
Oracle 19c PL/SQL Fundamentals (TTOR12019) 3 Days Jul 22 to Jul 24 10:00 AM to 06:00 PM EST $2,195.00 Enroll
Oracle 19c PL/SQL Fundamentals (TTOR12019) 3 Days Sep 23 to Sep 25 10:00 AM to 06:00 PM EST $2,195.00 Enroll
Oracle 19c PL/SQL Fundamentals (TTOR12019) 3 Days Nov 18 to Nov 20 10:00 AM to 06:00 PM EST $2,195.00 Enroll

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More