Print debugging info from stored procedure in MySQL

后端 未结 5 2094
滥情空心
滥情空心 2020-12-12 18:32

Is there a way in MySQL to print debugging messages to stdout, temptable or logfile? Something like:

  • print in SQLServer
  • DBMS_OUTPU
5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 19:08

    Quick way to print something is:

    select '** Place your mesage here' AS '** DEBUG:';
    

提交回复
热议问题