How can I simulate a print statement in MySQL?

后端 未结 4 1484
忘掉有多难
忘掉有多难 2020-12-08 06:02

I have some procedures where I would like to get some kind of acknowledgement after a condition has been assessed.

For example, the pusedocode would be like,

4条回答
  •  伪装坚强ぢ
    2020-12-08 06:44

    This is an old post, but thanks to this post I have found this:

    \! echo 'some text';
    

    Tested with MySQL 8 and working correctly. Cool right? :)

提交回复
热议问题