Information on routines (procedures and UDFs)
Column name | Data type | Contents | ||||
SPECIFIC_SCHEMA | CHAR(31) | Name of the schema to which the | ||||
SPECIFIC_NAME | CHAR(31) | Specific name of the routine | ||||
ROUTINE_TYPE | VARCHAR(28) |
| ||||
DATA_TYPE | VARCHAR(24) | Data type of the return value of a UDF CHARACTER NULL value, if a procedure | ||||
CHARACTER_MAXIMUM_LENGTH | SMALLINT | Max. length of the return value in code if data type is CHARACTER, NULL value in all other cases | ||||
NUMERIC_PRECISION | SMALLINT | Total number of significant digits for numeric data types NULL value in all other cases | ||||
NUMERIC_PRECISION_RADIX | SMALLINT | Radix for numeric data types NULL value in all other cases | ||||
NUMERIC_SCALE | SMALLINT | Number of digits right of the decimal for exact numeric data types NULL value in all other cases | ||||
DATETIME_PRECISION | SMALLINT | Number of digits right of the decimal for the data types TIME and NULL value in all other cases | ||||
ROUTINE_DEFINITION | VARCHAR(32000) | Text of the routine | ||||
SQL_DATA_ACCESS | VARCHAR(17) | CONTAINS SQL if CONTAINS SQL was specified in READS SQL DATA if READS SQL DATA was specified MODIFIES SQL DATA if MODIFIES SQL DATA was | ||||
IS_NULL_CALL | VARCHAR(3) | NO if a UDF NULL value in all other cases | ||||
IS_USER_DEFINED_CAST | VARCHAR(3) | NO if a UDF | ||||
AS_LOCATOR | VARCHAR(3) | NO if a UDF |
Table 124: SYS_ROUTINES view of the SYS_INFO_SCHEMA