Overview
This course provides a comprehensive guide to Oracle Database 19c PL/SQL programming. Participants will explore PL/SQL's capabilities to manage data, automate tasks, and develop scalable database solutions. Through a blend of theoretical concepts and practical exercises, learners will gain the skills to write robust, efficient, and maintainable PL/SQL programs.
Prerequisites
- A basic understanding of relational database concepts.
- Familiarity with SQL and basic querying techniques.
- Prior experience with Oracle SQL Developer is recommended but not required
This course is ideal for:
- Database developers and administrators seeking to enhance their PL/SQL programming skills.
- Application developers who need to integrate PL/SQL with their software solutions.
- IT professionals responsible for managing Oracle-based systems and automating database processes.
Delegates will learn how to
By the end of this course, participants will be able to:
- Understand the limitations of SQL and the benefits of PL/SQL.
- Write efficient PL/SQL anonymous blocks and manage variable scope.
- Use SQL statements within PL/SQL to interact with database objects.
- Implement control structures for procedural logic.
- Develop robust exception-handling mechanisms.
- Create modular subprograms using stored procedures and functions.
- Utilise advanced PL/SQL features like triggers, packages, and dynamic SQL.
- Debug and optimise PL/SQL code for better performance.
Outline
Module one: Introduction to PL/SQL
- Overview of PL/SQL runtime architecture.
- Understanding PL/SQL block structure.
- Benefits of using PL/SQL for database operations.
Module two: Declaring PL/SQL variables
- Variable declaration, initialization, and scope.
- Using the %TYPE and %ROWTYPE attributes.
- Working with composite data types.
Module three: Writing executable statements
- Lexical units and PL/SQL block syntax.
- SQL functions and sequences in PL/SQL.
- Best practices for writing readable and maintainable code.
Module four: Using SQL statements within PL/SQL
- Executing SELECT, INSERT, UPDATE, and DELETE within PL/SQL.
- Managing cursors and SQL cursor attributes.
- Handling naming ambiguities in SQL statements.
Module five: Writing control structures
- Conditional statements (IF, CASE).
- Loops (FOR, WHILE, BASIC).
- Nested and labelled loops with scope management.
Module six: Exception handling in PL/SQL
- Types of exceptions (predefined, user-defined).
- Using RAISE and RAISE_APPLICATION_ERROR.
- Guidelines for structured exception management.
Module seven: Creating and managing subprograms
- Differences between procedures and functions.
- Parameter modes and their applications (IN, OUT, IN OUT).
- Best practices for modular program design.
Module eight: Advanced PL/SQL features
- Creating and using packages for modular programming.
- Writing and managing triggers.
- Implementing dynamic SQL with EXECUTE IMMEDIATE.
Module nine: Debugging and performance tuning
- Using Oracle SQL Developer for debugging.
- Managing dependencies and recompilation.
- Optimising PL/SQL code using compiler warnings.
Frequently asked questions
How can I create an account on myQA.com?
There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.
If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".
If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.
Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.
How do QA’s virtual classroom courses work?
Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.
We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.
How do QA’s online courses work?
QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.
All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.
When will I receive my joining instructions?
Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.
When will I receive my certificate?
Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.