I’m more of a MS-SQL / PostgreSQL guy, but I’m working on a MySQL project. In one of my sprocs (functions) I would like to simply output the value of a variable at runtime for debugging purposes.
With PostgreSQL, this is done using RAISE NOTICE. This there an equivalent method in MySQL?
This is not available for MySQL.
But you can create something similar yourself by storing debugging values in a separate table as this article describes.