mysql / 5.7 / reference / show-function-code.html

13.7.5.19 SHOW FUNCTION CODE Statement

SHOW FUNCTION CODE func_name

This statement is similar to SHOW PROCEDURE CODE but for stored functions. See Section 13.7.5.27, “SHOW PROCEDURE CODE Statement”.