
The instructor has provided additional resources and example files for you to use. If you would like to access these, please download the attached .zip file, which contains the files shown in this course.
Set up Oracle environment by installing Oracle X-C and SQL developer, configure password and listener ports, and use Sequel Plus or Sequel Developer to run scripts creating and populating tables.
Explore Oracle's built-in database tools, learn to configure host, port, and SID connections, implement authentication, use bind variables, and work efficiently with SQL Developer.
Explore how PL/SQL merges the declarative SQL with procedural features, unlocking portability, simple syntax, and performance while covering deployment options and the structure of a PL/SQL program block.
Explore PL/SQL blocks: declare optional, begin mandatory, end, and optional exception; implement for next loops, manage data with commit and rollback, and use single-line and multi-line comments.
Explore sql plus in Oracle pl/sql fundamentals, focusing on data manipulation language (dml), program blocks with declare and begin, and using dbms_output with set server output on for visible results.
Explore declare clause objects in Oracle PL/SQL, including variables, booleans, constants, records, tables, and user defined types, the temporary storage they hold, and naming rules.
Explore Oracle PL/SQL available data types, including integer variants (binary/pos/simple), floating point, number, and character types (char, varchar2), plus date, boolean, rowid, and synonyms, with practical usage notes.
Declare simple data types in PL/SQL and use the colon equals operator for assignments, defaults, and not null constraints. Define constants and booleans, and use exceptions to enforce valid values.
Explore complex data types and the type command with percent type to bind variables to a table field’s data type via schema references, adapting automatically when the table changes.
Declare a percent ROE row type to capture an entire table row, including all fields and data types, and access fields with dot notation to assign or fetch data.
Create a type for a single-dimensional table, declare a variable using that structure, and populate memory with an array of employee SSNs for queries.
Declare and use a custom record in Oracle PL/SQL to combine fields from the employee and department tables, add a bonus, and populate active and inactive records via select statements.
Create and declare user defined types as hierarchical records, such as bonus compensation and employee records, then populate them with cash payments, company cars, and vacation weeks.
Learn what can be included in the begin clause to manipulate database and internal data, access declared objects, and apply logic and branching with SQL, regular expressions, and literals.
Learn to work with char and varchar2 variables in Oracle PL/SQL by assigning values, concatenating strings with the || operator, and handling string literals and regex-based searches.
Learn how to handle string literals in Oracle PL/SQL using the cue literal to safely include apostrophes in messages, avoiding end-of-string errors and ensuring valid user prompts.
Learn how to work with numeric variables in Oracle PL/SQL, assign values with :=, perform math using salary raise calculations, and prompt for numeric input while preventing non-numeric errors.
Discover how oracle stores date values as numeric data and declare date variables with identical types, then calculate next dates by adding days using the current date.
Explore boolean values, including true, false, and null, and learn to initialize booleans, test conditions with parentheses, and use if statements to act on high paid outcomes.
Learn to use comparison operators in PL/SQL, including equals, not equals, is null, like, in, and between, and see how these conditions are evaluated.
Discover how SQL functions such as max, min, upper, lower, and round integrate with PL/SQL scripts, leveraging select into and DBMS output to format data and calculations.
Explore SQL DML within PL/SQL by performing inserts, updates, deletes, and locks, and manage transactions with commit, rollback, savepoint, and set transaction.
Learn how select into handles one record versus multiple records, and why the declared type must match the select fields; explore why explicit cursors are needed for multiple rows.
Explore how Oracle PL/SQL handles exceptions in select into statements, including no data found and too many rows, and how aggregate functions simplify results without errors.
Explore how sequences generate unique values for primary keys in Oracle PL/SQL. Learn creating, referencing nextval, and using sequences in inserts, with scaling considerations and triggers.
Delve into logic control and branching in PL/SQL, cover program labels, the goto statement, and loop structures. Master if-then-else and the case statement, including its two flavors, to build applications.
Master using the goto statement to jump to a labeled location in a PL/SQL script. Adhere to label rules, angle bracket usage, and the requirement that the label exists.
Master PL/SQL loops, including for next, fixed iteration and reverse loops, with exit, exit when, continue, and end loop syntax.
Learn to build an indefinite loop in PL/SQL using the loop and exit when constructs, track remaining records with a count, and consider test-at-end versus test-at-start pitfalls.
Master the conditional loop by testing the condition before each iteration, using a while loop to control flow, and contrasting it with indefinite and for next loops in Oracle PL/SQL.
Master nested loops in Oracle PL/SQL to generate complex data, using outer and inner loops to populate a transactions table with buy and sell records.
Learn how the if-then-else construct in PL/SQL tests binary conditions, uses else and else if, supports nested blocks, and handles case sensitivity with upper or lower functions.
Use the pl/sql case statement to cleanly branch complex logic, choosing between selector and searched flavors for single or multiple conditions, with an else to avoid not found errors.
Explore the exception clause in PL/SQL to trap and handle errors, including types of exceptions, user declared exceptions, and nesting, ensuring program flows continue smoothly.
Trap errors in PL/SQL using the when clause after the exception, testing single or multiple errors, with a global when others then handler to roll back on any unhandled exception.
Identify common Oracle PL/SQL errors and handle them with when clauses, including no data found, too many rows, invalid cursor, and case not found.
Learn how to create user defined exceptions in Oracle PL/SQL with pragma exception_init, map names to error codes (like -1407), and handle them in an exception clause.
Explore error handling in PL/SQL by comparing user defined exceptions via pragma exception and the global when others, and using SQLCODE and SQLERRM for precise debugging.
Explore how Oracle automatically creates an implicit cursor for every dml statement, exposing attributes like found, not found, row_count, and is_open, and contrast it with explicit cursors.
Declare a user defined event by creating an exception object, raise it to enforce a business rule, and handle it in the exception clause to update salaries.
Explore explicit cursors in oracle pl/sql by declaring, opening, fetching, and closing records, tracking found and not found status, and understanding their advantages and limitations for row by row processing.
Explore explicit cursor attributes alongside implicit cursors, and learn to use is open, found, not found, and row count to control fetches and output.
demonstrates using the continue statement inside a loop to skip processing and fetch the next record, and compares with exit when for termination, including null SSN filtering for performance.
Explore updateable cursors with explicit cursors, using for update of and where current of, and understand row locking and the need for where clauses, commits, or rollbacks.
Learn how explicit cursors use declared parameters to filter results in the where clause, open with a passed value, and update rows while avoiding locking and hard coding.
Master the for loop cursor to automatically manage open, fetch, and close operations, delivering concise code and faster performance for large data sets.
Explore nested blocks in PL/SQL to isolate potentially problematic statements, handle exceptions in the inner block, and let the outer block continue, using labels, begin, end, and declare correctly.
Understand global versus local objects in nested blocks, where outer declarations are accessible inside inner blocks. See how exceptions stay local to blocks and bubble up with when others.
Explore subprograms in Oracle PL/SQL, compare them with nested blocks and stored program units, and learn syntax, declare clause rules, and how modular procedures and functions are invoked.
Master essential PL/SQL fundamentals, from development tools and the declare and begin clauses to exception handling, explicit cursors, nested blocks, and subprograms such as triggers and stored procedures.
The instructor has provided additional resources and example files for you to use. If you would like to access these, please download the attached .zip file, which contains the files shown in this course.
Set up the Windows-based Oracle X-C environment by downloading Oracle X-C and running database scripts to create tables. Understand password and port considerations to keep Oracle listener and services running.
Learn how to install SQL Developer by simply copying files, launching the program, and using downloadable database scripts to create and populate Oracle tables with commits and inserts.
Set up your workstation for Oracle PL/SQL development by configuring SQL Developer, loading scripts, running them to create and populate tables, and reviewing output logs.
Explore the database program unit and why it offloads work from the application server to the database. Learn anonymous blocks, stored program units, procedures, functions, packaged units, and triggers.
Learn to create stored procedures and functions in Oracle PL/SQL with create or replace, input/output parameters, and begin end blocks. Grasp the differences, return values, and error handling.
Learn how parameter specification works in Oracle PL/SQL, including actual versus formal parameters, mode options (in, out, in out), unconstrained data types, default values, and naming rules.
Execute Oracle procedures and functions using remote calls, SQL Plus, or SQL Developer, while granting execute rights, handling exceptions, and testing with positional, named, and mixed parameter notations.
Call user defined functions inside SQL to extend Oracle built-ins, using salary_valid_result (varchar2) alongside standard functions like upper and round in selects, where, and updates; in parameters only.
Discover how Oracle records compilation errors in PL/SQL; invalid units stay in the database, and you diagnose them with show errors and the user_errors view.
Learn how dependencies affect stored procedures and functions, how to recompile or drop them, and how the data dictionary and the UGL recap script help recompile invalid programs.
Discover how Oracle data dictionary storage holds object metadata in views, and learn to query user_, all_, and dba_ views, inspect object size, dependencies, and source code.
Learn how dependencies and dependent objects affect validity in Oracle PL/SQL, using time stamps and signatures to manage invalidation across local and distributed databases.
Track dependencies in Oracle PL/SQL using the single-level user dependencies view or the multi-level dependency tracking utility; install, run, and review a complete dependency tree.
Learn to use the dependency tracking utility to identify all dependencies for a database object by running the dep tree fill procedure and querying the dep tree table.
Learn how to create and maintain Oracle packages, exposing public programs via a header and implementing code in the body, boosting performance and simplifying maintenance.
Create a package by writing the specification and the body, using create or replace package and create or replace package body, exposing procedures with parameters while keeping private elements first.
Describe package definition information using the same tools as programs, using the user objects view and the describe keyword to reveal public items in the package and package body.
Explore advanced programming techniques for Oracle PL/SQL packages, including invoker rights versus definer rights, persistent objects, package initialization, object oriented principles, and advanced cursor techniques.
Explore persistent global objects in PL/SQL by declaring global variables inside a package specification or body, enabling access across all procedures and functions while noting it won't be standalone.
Learn how initialization logic in Oracle PL/SQL packages runs an anonymous block at load time. Define a global salary cap in the body and expose a public function.
Explore object oriented support in Oracle PL/SQL by using packages for modularity and encapsulation. Implement polymorphism through overloading to improve reusability and maintainability.
Maintain Oracle packages by managing dependencies, dropping body or package, and recompiling spec, body, or both, then leverage dependency tracking and explicit instantiation for performance.
Explore Oracle cursor variables and ref cursors in pl/sql to reference result sets efficiently, and implement strong versus weak cursor definitions with open and fetch in a package.
Explains weak cursor definitions in Oracle PL/SQL and their flexibility to hold multiple data types. Contrasts with strong definitions and covers fetch logic and exception handling.
Use the tsis ref cursor for weak definitions, letting Oracle manage the cursor and avoid global variables; switch to the CIS ref cursor in calling code, simplifying open and fetch.
Explore cursor expressions in Oracle PL/SQL to elegantly handle one-to-many hierarchies, using ref cursors and explicit cursors to nest cursor objects within a single query.
Explore system supplied packages and use dbms_output for messaging and debugging. Learn to read and write to an external comma-delimited file with a second package, using getline and get lines.
Discover how the UTL_FILE package enables reading and writing external files via a directory object that maps to a host folder.
Explore database triggers in Oracle PL/SQL, including statement-level, row-level, and instead-of triggers, with examples on security and cascading effects, and learn to implement triggers that enforce business rules within transactions.
Master statement-level triggers in Oracle PL/SQL by configuring before or after insert, update, or delete events that fire once per statement. Use column conditions and raise_application_error for error handling.
Explore row-level triggers in Oracle PL/SQL, firing for each updated row, using old and new values, referencing and when clauses, and understand performance implications.
Implement a row level trigger on the employee table to enforce that salaries exceed 70000 only for managers, by testing new salaries before insert or update against department data.
create an employee journal table and a row-level after insert or update trigger that logs salary changes greater than 70000 to an audit table using old and new values.
Demonstrate a row-level trigger after insert or update on salary that creates budget requests in budget table with account number and amount, distinguishing raises from new hires by default date.
Explore the instead of trigger, enabling dml on a view by using a row-level trigger to map updates, deletes, or inserts to underlying tables such as employee and department.
Discover how to create triggers in Oracle, including required privileges and cross-schema considerations, and learn about mutating table issues, row-level and statement-level triggers, and savepoint rules.
Learn to use the call statement to split triggers into a specification and a stored procedure, pass parameters via colon new/old, maintain triggers, and handle mutating table issues.
Learn to maintain Oracle triggers by viewing errors, dropping, altering, enabling, and disabling triggers, and navigating the data dictionary for reliable production workflows.
Explore how Oracle supports multiple triggers on the same table, the order of precedence for before and after triggers, and how the follows clause enforces a defined firing order.
Learn to handle mutating table issues in Oracle PL/SQL with a package and global variables. Track affected SSNs in a delete list and update after row changes.
Explore how the compound trigger unites row and statement logic to manage mutating tables and bi-row events in one cohesive trigger with a shared declaration.
Define system event triggers to monitor database-wide or schema-specific activity, using events rather than dml actions, and learn scope, attributes like login user and ip address.
Identify available system events for Oracle triggers, including system manager, user session, and ddl events, with before/after timing and attributes like triggering sequel text, ip address, and login user.
Explore database program units, including stored procedures and functions, and learn to leverage packages for development, advanced cursor techniques, and compound and system event triggers in Oracle.
Oracle PL/SQL Fundamentals Pt. I Description of Course:
The primary objective of this Oracle 11g training part I course is to provide an introduction to the PL/SQL database programming language covering syntax, structure, and features of the language within the context of database applications and programming. This Oracle 11g course will prepare students for the Oracle certification exams (OCP).
Learning Objectives:
Preparing Your Environment
Working with Oracle Database Tools
Language Features
The DECLARE Clause
The BEGIN Clause
The EXCEPTION Clause
Explicit Cursors
Nested Blocks
Declared Subprograms
Oracle PL/SQL Fundamentals Pt. II Description of Course:
In this part 2 of Oracle PL/SQL fundamentals, students will dive into topics such as understanding the basic form and structure of program units stored within the database, building and maintaining stored procedures, functions, packaged programs, and database triggers. Additional topics include taking advantage of advanced programming techniques such as cursor variables and cursor expressions. This Oracle 11g course will prepare students for the Oracle certification exams (OCP).
Learning Objectives:
Preparing Your Environment
Database Program Units
Working with Stored Procedures and Functions
Maintaining Stored Procedures and Functions
Creating and Maintaining Packages
Advanced Cursor Techniques
Using System Supplied Packages
Creating Database Triggers
Trigger Maintenance
Working with System Event Triggers
As you proceed through the course, don’t forget you can ask questions and engage with us. When watching a video, click the Browse Q&A at the bottom of the screen and then click the green Ask a new question button and we’ll get back to you with an answer! With nearly 10,000 training videos available for desktop applications, technical concepts, and business skills that comprise hundreds of courses, Intellezy has many of the videos and courses you and your workforce needs to stay relevant and take your skills to the next level. Our video content is engaging and offers assessments that can be used to test knowledge levels pre and/or post course. Our training content is also frequently refreshed to keep current with changes in the software. This ensures you and your employees get the most up-to-date information and techniques for success. And, because our video development is in-house, we can adapt quickly and create custom content for a more exclusive approach to software and computer system roll-outs. Check out all Intellezy has to offer with our award-winning video content!