Code to show procedures in MySQL [closed]

3

What is the code in MySQL to show the procedures created by me?

    
asked by anonymous 10.10.2016 / 00:27

1 answer

3

I believe this is what you want:

SELECT ROUTINE_TYPE, ROUTINE_NAME
    FROM INFORMATION_SCHEMA.ROUTINES
    WHERE ROUTINE_SCHEMA = 'nome do banco de dados aqui';

Documentation .

You might also want to list:

SHOW PROCEDURE STATUS;

Documentation .

And show the code:

SHOW PROCEDURE CODE;

Documentation .

    
10.10.2016 / 00:36