There are many non-obvious ways to return values from MySQL stored procedures, and each of them solves particular problems.
Read moreVariable number of parameters and optional parameters in MySQL/MariaDB procedures
MySQL and MariaDB don’t allow optional parameters for stored procedures, nor procedures accepting any number of parameters. However, these features can be emulated by passing JSON documents. Let’s see how.
Read moreUpdating triggers online with MySQL and MariaDB (→Vettabase)
Changing triggers in production is problematic, because for a short time triggers will be missing, or inconsistent with each other. This article proposes a solution to resolve the problem.
Read more