### 25.2.3 Stored Routine Metadata

[]()[]()

 To obtain metadata about stored routines:

* Query the [`ROUTINES`](information-schema-routines-table.html) table of the `INFORMATION_SCHEMA` database. See [Section 26.3.30, “The INFORMATION\_SCHEMA ROUTINES Table”](information-schema-routines-table.html).

* Use the [`SHOW CREATE PROCEDURE`](show-create-procedure.html) and [`SHOW CREATE FUNCTION`](show-create-function.html) statements to see routine definitions. See [Section 13.7.7.9, “SHOW CREATE PROCEDURE Statement”](show-create-procedure.html).

* Use the [`SHOW PROCEDURE STATUS`](show-procedure-status.html) and [`SHOW FUNCTION STATUS`](show-function-status.html) statements to see routine characteristics. See [Section 13.7.7.28, “SHOW PROCEDURE STATUS Statement”](show-procedure-status.html).

* Use the [`SHOW PROCEDURE CODE`](show-procedure-code.html) and [`SHOW FUNCTION CODE`](show-function-code.html) statements to see a representation of the internal implementation of the routine. See [Section 13.7.7.27, “SHOW PROCEDURE CODE Statement”](show-procedure-code.html).

