
Configure the core PL/SQL scripts by creating the INVENTORY1 user, connecting via SQL Developer, and running scripts to set up the customer, product, sales, sales_history, and salesperson tables.
explore how pl/sql extends sql with procedural statements to define business logic, control flow, and data processing in a single block, addressing sql's limitations.
Explore your first PL/SQL example by displaying output with dbms_output.put_line. Learn to enable the dbms output window, run the program, and see the welcome message.
Learn how to declare variables in a PL/SQL block, assign defaults with colon equal to and the default keyword, and declare character variables, outputs, and constants to prevent reassignment.
Learn to define PL/SQL comments, including single-line comments with two dashes and multi-line comments using /# to start and #/ to end, and follow best practices for clarity.
Fetch data from the database using select into in PL/SQL, ensuring variable data types match the column types (number, varchar, date, timestamp, composite) and display results with dbms_output.
Learn how to insert data into a database using a PL/SQL block, starting with a declare block that defines variables with table.column%type, then inserting into the customer table and commit.
Learn about PL/SQL functions, including user-defined ones that return values and can be used in SQL expressions, and compare them to procedures with their return type and parameter modes.
Discover how pl/sql uses the exception block to catch errors during execution, differentiate system-defined and user-defined exceptions, and record and handle them with when clauses.
Declare a user defined exception, raise it when customer_ID is less than or equal to zero, and catch it to display that customer_ID must be greater than zero.
Define a PL/SQL package specification by declaring procedures and functions with parameters, using create or replace package, and ending with the package name. Group customer subprograms for the package.
Learn how to use a record data type to fetch and display customer data in PL/SQL, replacing ten variables with a single composite record for any number of columns.
Learn to update database data using a record data type in PL/SQL by fetching into a record, modifying fields, and applying update with a where clause.
Master the cursor for loop to replace explicit cursor handling by automatically processing query results, with Oracle fetching rows internally.
Learn to become a PL/SQL developer in just four weeks.
This fast, easy and effective course will take you from zero PL/SQL writing skills to being able to write efficient programs to process data.
PL/SQL is the Oracle Procedural Language extension of SQL. A PL/SQL program can have both SQL statements and procedural statements. In the PL/SQL program, the SQL statements are used to access sets of data stored in a database, while the procedural statements are used to process individual piece of data and control the program flow.
In this course participants will learn
Softwares used