myt/exporters/procedure.sql

10 lines
135 B
SQL
Executable File

SELECT
`name`,
`definer`,
`param_list` paramList,
`body`,
`modified`
FROM mysql.proc
WHERE db = ? AND type = 'PROCEDURE'