Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Oracle PL/SQL Fundamentals vol. I & II
Bestseller
Rating: 4.4 out of 5(5,643 ratings)
27,052 students

Oracle PL/SQL Fundamentals vol. I & II

A complete introduction to PL/SQL database programming language
Last updated 1/2022
English

What you'll learn

  • Over 90 lectures and 20 hours of content
  • Prepare your enviornment
  • Introducing Database Program Units
  • Creating and Maintaining Packages
  • Using System-Supplied Packages
  • Creating and Maintaining Database Triggers
  • Implementing System Event Triggers
  • Work with Oracle database tools
  • Understand and work work language features
  • Work with DECLARE, BEGIN & EXCEPTION clause
  • Understand and use nested blocks
  • Use explicit cursors

Course content

2 sections97 lectures19h 59m total length
  • Introduction3:06

    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.

  • Course Setup37:03

    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.

  • Selecting the Appropriate Database Tool30:45

    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.

  • Understanding PL/SQL17:59

    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.

  • PL/SQL Blocks15:19

    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.

  • Working with SQL Plus11:00

    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.

  • DECLARE Clause Objects16:25

    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.

  • PL/SQL Available Data Types16:55

    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.

  • Declaring Simple Data Types and Assignments12:16

    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.

  • Declaring Complex Data Types and Assignments10:38

    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.

  • Declaring Complex RowTypes and Assignments7:02

    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.

  • Declaring Complex Tables7:44

    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.

  • Declaring Complex Records8:12

    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.

  • Creating and Declaring User-Defined Types8:48

    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.

  • What Can Be Included in the BEGIN Clause7:02

    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.

  • Working with CHAR and VARCHAR2 Variables7:30

    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.

  • Handling String Literals7:41

    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.

  • Working with Numeric Variables6:40

    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.

  • Working with Date Variables6:00

    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.

  • Assigning and Using Boolean Variables7:44

    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.

  • Using Comparison Operators7:24

    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.

  • Using SQL Functions6:11

    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.

  • SQL DML within PL/SQL15:05

    Explore SQL DML within PL/SQL by performing inserts, updates, deletes, and locks, and manage transactions with commit, rollback, savepoint, and set transaction.

  • Using SELECT6:32

    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.

  • Exceptions and Embedded SQL11:16

    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.

  • Using Sequences14:28

    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.

  • Logic Control and Branching6:58

    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.

  • Using GOTO5:52

    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.

  • Working with LOOPS18:53

    Master PL/SQL loops, including for next, fixed iteration and reverse loops, with exit, exit when, continue, and end loop syntax.

  • Creating and Using the Indefinite Loop6:59

    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.

  • Creating and Using the Conditional Loop8:48

    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.

  • Using Nested Loops11:33

    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.

  • Using the If-Then-Else18:54

    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.

  • Using the CASE Statement17:43

    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.

  • What Are the Types of Exceptions5:31

    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.

  • Trapping Exceptions5:32

    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 Exception Details10:57

    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.

  • Creating User-Defined Exceptions10:49

    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.

  • Using SQLCODE and SQLERRM Objects8:29

    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.

  • Understand the Implicit Cursor14:37

    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.

  • Creating User-Defined Events12:26

    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.

  • Understanding the Concept and Purpose of Explicit Cursors18:10

    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.

  • Learn about Cursor Attributes10:12

    Explore explicit cursor attributes alongside implicit cursors, and learn to use is open, found, not found, and row count to control fetches and output.

  • Using the Continue Statement5:44

    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.

  • Working with Updateable Cursors19:25

    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.

  • Creating and Using Cursor Parameters14:45

    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.

  • FOR...LOOP Cursors6:53

    Master the for loop cursor to automatically manage open, fetch, and close operations, delivering concise code and faster performance for large data sets.

  • Understanding Nested Blocks10:46

    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.

  • Difference between Global vs Local Objects and Exceptions12:35

    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.

  • Subprograms: How They Differ from Nested Blocks17:37

    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.

  • Conclusion3:52

    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.

Requirements

  • Familiarity with database and programming principles

Description

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!

Who this course is for:

  • Application designers and developers
  • Database administrators
  • Business users and non-technical senior end users