How can I simulate a print statement in MySQL?

后端 未结 4 1481
忘掉有多难
忘掉有多难 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 07:05

    to take output in MySQL you can use if statement SYNTAX:

    if(condition,if_true,if_false)
    

    the if_true and if_false can be used to verify and to show output as there is no print statement in the MySQL

提交回复
热议问题