what is equivalent of MySQL of DBMS_OUTPUT

ckl picture ckl · Nov 3, 2013 · Viewed 24.7k times · Source

I try to write a MySQL strored procedure, and want to send some output to console, or stdout. Oracle use DBMS_OUTPUT.PUTLINE to debugginf.

Is there an equivalent of DBMS_OUTPUT in MySQL stored procedures?

Answer

Iswanto San picture Iswanto San · Nov 3, 2013

In Oracle :

DBMS_OUTPUT.put('Hello World');

In MySQL :

SELECT 'Hello World!';