SHOW {PROCEDURE | FUNCTION} STATUS
[LIKE 'pattern' | WHERE expr]
These statements are MySQL extensions. They return
characteristics of routines, such as the database, name, type,
creator, creation and modification dates, and character set
information. The LIKE clause,
if present, indicates which procedure or function names to
match. The WHERE clause can be given to
select rows using more general conditions, as discussed in
Section 27.27, “Extensions to SHOW Statements”.
mysql> SHOW FUNCTION STATUS LIKE 'hello'\G
*************************** 1. row ***************************
Db: test
Name: hello
Type: FUNCTION
Definer: testuser@localhost
Modified: 2004-08-03 15:29:37
Created: 2004-08-03 15:29:37
Security_type: DEFINER
Comment:
character_set_client: latin1
collation_connection: latin1_swedish_ci
Database Collation: latin1_swedish_ci
character_set_client is the session value of
the character_set_client system variable when
the routine was created. collation_connection
is the session value of the
collation_connection system variable when the
routine was created. Database Collation is
the collation of the database with which the routine is
associated. These columns were added in MySQL 5.1.21.
You can also get information about stored routines from the
ROUTINES table in
INFORMATION_SCHEMA. See
Section 27.14, “The INFORMATION_SCHEMA ROUTINES Table”.

User Comments
Add your own comment.