Course Outline
1. Introduction to PL/pgSQL Programming Language for Government
- Code blocks
- Variables
- Conditional instructions
- Loops
- Exceptions
- Built-in functions
- Comments
2. Implementing SQL Operations for Government
- Static and dynamic SQL
- Executing DML commands
- Executing SELECT queries (single-row, single-column, multiple-rows)
3. Implementing Stored Procedures and Functions for Government
- Parameter passing modes
- Overloading
- Functions that return collections
4. Implementing Triggers for Government
- Data change triggers
- System event triggers
- Trigger functions
- For each row/statement triggers
- OLD and NEW variables
- AFTER/BEFORE triggers
- WHEN clause
5. Implementing Batch Jobs with PgAgent for Government
- PgAgent architecture
- Defining a job
- Using diagnostic tables and views
Requirements
- Fundamental knowledge of SQL and relational databases
- Practical experience with any programming language (e.g., Python, Java, C#, etc.)
Audience
This course is designed for Application Developers, Data Engineers, and Database Developers who are responsible for creating stored functions, triggers, and database-side logic in PostgreSQL. It aligns with the needs of professionals working on projects for government and other public sector entities.
Testimonials (1)
Logging behaviour when the instance is under stress, and the hierarchy/nomenclature of instances, databases, files, etc.