Purpose
The information_schema.PARAMETERS view displays information about parameters and returns values for stored procedures.
Note
This view is introduced since OceanBase Database V2.2.77.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SPECIFIC_CATALOG | varchar(512) | NO | The name of the catalog to which the stored procedure containing the parameter belongs. The value of this column is always def. |
| SPECIFIC_SCHEMA | varchar(128) | NO | The name of the database. |
| SPECIFIC_NAME | varchar(64) | NO | The name of the stored procedure containing the parameter. |
| ORDINAL_POSITION | bigint(20) | NO | The position of the parameter (the value is 0 for the return value of a function). |
| PARAMETER_MODE | varchar(5) | NO | The mode of the parameter. Valid values:
|
| PARAMETER_NAME | varchar(64) | YES | The name of the parameter. |
| DATA_TYPE | varchar(64) | NO | The data type of the parameter. |
| CHARACTER_MAXIMUM_LENGTH | bigint(20) | NO | The maximum length in characters for string parameters. |
| CHARACTER_OCTET_LENGTH | bigint(20) | NO | The maximum length in bytes for string parameters. |
| NUMERIC_PRECISION | bigint(20) unsigned | NO | The numeric precision for numeric parameters. |
| NUMERIC_SCALE | bigint(20) | NO | The numeric scale for numeric parameters. |
| DATETIME_PRECISION | bigint(20) unsigned | NO | The datetime precision for temporal parameters. |
| CHARACTER_SET_NAME | varchar(64) | NO | The character set name for string parameters. |
| COLLATION_NAME | varchar(64) | NO | The collation for string parameters. |
| DTD_IDENTIFIER | longtext | NO | The detailed information about the data type recorded in characters. |
| ROUTINE_TYPE | varchar(9) | NO | The type of the stored procedure (procedure or function). |