Information on routines (procedures and UDFs) for which the current authorization identifier has privileges.
Column name | Data type | Contents | ||||
SPECIFIC_CATALOG | CHAR(18) | Database name | ||||
SPECIFIC_SCHEMA | CHAR(31) | Name of the schema to which the | ||||
SPECIFIC_NAME | CHAR(31) | Specific name of the routine | ||||
ROUTINE_CATALOG | CHAR(18) | Database name | ||||
ROUTINE_SCHEMA | CHAR(31) | Name of the schema to which the | ||||
ROUTINE_NAME | CHAR(31) | 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_ | SMALLINT | Max. length of the return value in code if data type is CHARACTER, NULL value in all other cases | ||||
CHARACTER_OCTET_ | SMALLINT | Max. length of the return value in bytes if data type is CHARACTER, NULL value in all other cases | ||||
CHARACTER_SET_ | CHAR(18) | Database name if data type is CHARACTER, NULL value in all other cases | ||||
CHARACTER_SET_ | CHAR(31) | INFORMATION_SCHEMA if data type is CHARACTER, NULL value in all other cases | ||||
CHARACTER_SET_ | CHAR(18) | EBCDIC if data type is CHARACTER or UTF16 if data type is NATIONAL CHAR or NULL value in all other cases | ||||
COLLATION_CATALOG | CHAR(18) | Database name if data type is CHARACTER, NULL value in all other cases | ||||
COLLATION_SCHEMA | CHAR(31) | INFORMATION_SCHEMA if data type is CHARACTER, NULL value in all other cases | ||||
COLLATION_NAME | CHAR(18) | EBCDIC_BINARY, if data type is CHARACTER or UTF16_BINARY, if data type is NATIONAL CHAR or 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_ | 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_BODY | VARCHAR(8) |
| ||||
ROUTINE_DEFINITION | VARCHAR(32000) | Text of the routine if the current authorization identifier NULL value in all other cases | ||||
EXTERNAL_NAME | CHAR(31) | NULL value, irrelevant for SESAM/SQL | ||||
EXTERNAL_LANGUAGE | VARCHAR(7) | NULL value, irrelevant for SESAM/SQL | ||||
PARAMETER_STYLE | VARCHAR(7) | NULL value, irrelevant for SESAM/SQL | ||||
IS_DETERMINISTIC | VARCHAR(3) | NO irrelevant for SESAM/SQL | ||||
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 | ||||
SQL_PATH | VARCHAR(256) | SQL path In SESAM/SQL, the same as the | ||||
SCHEMA_LEVEL_ | VARCHAR(3) | YES Is part of a schema | ||||
MAX_DYNAMIC_ | SMALLINT | 0 irrelevant for SESAM/SQL | ||||
IS_USER_DEFINED_ | VARCHAR(3) | NO if a UDF NULL value in all other cases | ||||
IS_IMPLICITLY_ | VARCHAR(3) | NULL value, irrelevant for SESAM/SQL | ||||
SECURITY_TYPE | VARCHAR(22) | NULL value, irrelevant for SESAM/SQL | ||||
AS_LOCATOR | VARCHAR(3) | NO if a UDF NULL value in all other cases | ||||
NEW_SAVEPOINT_ | VARCHAR(3) | NULL value, irrelevant for SESAM/SQL | ||||
IS_UDT_DEPENDENT | VARCHAR(3) | NO irrelevant for SESAM/SQL |
Table 83: ROUTINES view of the INFORMATION_SCHEMA