The system table DBPROCEDURES contains all the database procedures for which the current user has privileges.
DBPROCEDURES
OWNER |
CHAR(32) |
Name of owner of database procedure |
DBPROCNAME |
CHAR(32) |
Name of database procedure |
PACKAGE |
CHAR(32) |
Package that contains the database procedure |
PARAMETER |
FIXED(4) |
Number of parameters of database procedure |
CREATEDATE |
DATE(10) |
Creation date of database procedure |
CREATETIME |
TIME(8) |
Creation time of database procedure |
EXCECUTION_KIND |
CHAR(6) |
Execution location of database procedure (INPROC | LOCAL | REMOTE) |
LANGUAGE |
CHAR(32) |
Implementation language of the database procedure (SPL | C++ | JAVA | ...) |
SQL_SUPPORT |
CHAR(3) |
Database procedure may contain SQL statements (YES | NO) |
WAIT_FOR_CHCKPT |
CHAR(3) |
Database procedure waits for a checkpoint (YES | NO) |
REMOTE_LOCATION |
CHAR(132) |
Execution location |
DEFINITION |
LONG |
SQL statement for defining the database procedure |
COMMENT |
LONG |
Comment about database procedure |
See also:
Evaluating System Tables ® DBPROCEDURES