Introduction to PL/SQL
A comprehensive introduction to PL/SQL, covering fundamentals to advanced topics for building robust database applications.
...
Share
PL/SQL Fundamentals and Setup
Unit 1: Introduction to PL/SQL
What is PL/SQL?
History of PL/SQL
PL/SQL vs. Other Langs
PL/SQL Architecture
PL/SQL Benefits
Unit 2: Setting up Your Environment
Oracle Installation
SQL Developer Install
Connect to Oracle
Create a User
First PL/SQL Script
Unit 3: PL/SQL Block Structure
DECLARE Section
BEGIN Section
EXCEPTION Section
END Section
Basic PL/SQL Syntax
Variables, Data Types, and Control Structures
Unit 1: Declaring Variables and Constants
Intro to Variables
Declaring Variables
Declaring Constants
Variable Initialization
Variable Scope
Unit 2: PL/SQL Data Types
Scalar Data Types
Working with NUMBER
Working with VARCHAR2
Working with DATE
Working with BOOLEAN
Unit 3: Conditional Statements
Intro to Conditionals
IF-THEN Statements
IF-THEN-ELSE
ELSIF Statements
CASE Statements
Unit 4: Looping Constructs
Intro to Loops
Basic LOOP
WHILE LOOP
FOR LOOP
Nested Loops
Unit 5: SQL in PL/SQL
SQL in PL/SQL
SELECT Statements
INSERT Statements
UPDATE Statements
DELETE Statements
Error Handling, Procedures, Functions, and Packages
Unit 1: PL/SQL Error Handling
Intro to Error Handling
Predefined Exceptions
Custom Exceptions
RAISE_APPLICATION_ERROR
Exception Propagation
Unit 2: Procedures and Functions
Intro to Subprograms
Creating Procedures
Creating Functions
Forward Declarations
Benefits of Subprograms
Unit 3: Packages
Intro to Packages
Package Specification
Package Body
Package Variables
Using Packages
Triggers, Dynamic SQL, and Collections
Unit 1: PL/SQL Triggers
Intro to PL/SQL Triggers
Creating Your 1st Trigger
Using :OLD and :NEW
Triggering Events
INSTEAD OF Triggers
Unit 2: Dynamic SQL in PL/SQL
Intro to Dynamic SQL
EXECUTE IMMEDIATE
Dynamic Queries
DBMS_SQL Package
Security Best Practices
Unit 3: PL/SQL Collections
Intro to Collections
Nested Tables
VARRAYs
Associative Arrays
Collections Methods
Transaction Management, Debugging, Optimization, and Security
Unit 1: Transaction Management in PL/SQL
Intro to Transactions
COMMIT Operation
ROLLBACK Operation
SAVEPOINT Usage
Autonomous Transactions
Unit 2: Debugging PL/SQL Code
Debugging Overview
DBMS_OUTPUT Usage
Using SQL Developer
Debugging Best Practices
Remote Debugging
Unit 3: PL/SQL Code Optimization
Optimization Overview
Efficient SQL
Bulk Processing
Caching Techniques
Profiling Tools
Unit 4: Security in PL/SQL
Security Overview
SQL Injection
Definer's Rights
Granting Privileges
Auditing Changes