Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can add a log message with "print" inside a stored procedure that is invoked with JDBI @SqlCall by using the SQL "PRINT" statement in your stored procedure.

For example, if you want to print a message "Hello world!" inside your stored procedure, you can add the following statement in your stored procedure:

PRINT 'Hello world!'

Then, when you invoke your stored procedure with JDBI @SqlCall, the message will be printed in the console or log file, depending on your logging configuration.