Oracle Database Training
Oracle Database
PL/SQL Fundamentals
เรียนรู้การเขียนโปรแกรม PL/SQL ตั้งแต่พื้นฐาน — Variables, Control Structures, Cursors, Exceptions และ Stored Programs
เนื้อหาหลักสูตร
Day 1
Introduction to PL/SQL & Core Concepts
- Introduction to PL/SQL — ทำความรู้จักกับ PL/SQL, โครงสร้าง Block, ประโยชน์ และสภาพแวดล้อมการพัฒนา
- Lesson 1: Introduction to PL/SQL
- Lesson 2: Declaring PL/SQL Variables — ตัวแปร, ชนิดข้อมูล, %TYPE, Constants
- Lesson 3: Writing Executable Statements — Identifiers, SQL Functions, Nested Blocks, Code Conventions
- Lesson 4: Interacting with Oracle Database Server (SQL in PL/SQL) — SELECT, DML, Transactions, Implicit Cursors
- Lesson 5: Writing Control Structures — IF-THEN-ELSE, CASE, Basic Loops, WHILE, FOR, CONTINUE
Day 2
Advanced Structures, Cursors & Stored Programs
- Lesson 6: Working with Composite Data Types — PL/SQL Records, INDEX BY Tables, Nested Tables, VARRAYs
- Lesson 7: Using Explicit Cursors — Cursor Lifecycle, Cursor FOR Loop, Cursors with Parameters
- Lesson 8: Handling Exceptions — Predefined Exceptions, User-Defined Exceptions, RAISE_APPLICATION_ERROR
- Lesson 9: Creating Stored Procedures and Functions — Syntax, Parameters (IN/OUT/IN OUT), DEFAULT, RETURN, Invoker's Rights