In preparationPrice not published

Micro-course · Intermediate

Automate PostgreSQL with triggers

React to a data event without hiding business logic unnecessarily.

75 to 90 minPostgreSQL6 lessons · 10 exercises planned
Notify me when it opens

The business problem

A price history must be kept whenever a change occurs, regardless of the calling process.

What you will be able to do

Create and test an audit trigger with OLD, NEW, BEFORE, AFTER, ROW and STATEMENT.

  • Write a trigger function
  • Choose BEFORE or AFTER
  • Prevent recursion
  • Know when not to use a trigger

What this micro-course does not promise yet

The content, exercises and laboratory are not accessible yet. This page describes a production goal, not a skill you can already practise on SQL.tn.

Prerequisites

  • Constraints
  • INSERT, UPDATE, DELETE
  • Transactions

Project and practice

The planned structure contains 10 exercises and a mini-project. They will remain unavailable until they have been run and validated.

No payment and no commitment

Be notified when the content is genuinely ready.

The waiting list measures interest. It creates no purchase, reservation or discount.

No payment, no commitment and no advertising data sharing.

Back to the full catalogue