FUNCTIONCOLUMNS System Table Description
Description
Maintains, for each SQL or Java User Defined Function, a list of INPUT
parameters. In addition to a row in this table for each input parameter, an additional row will be generated for the return value defined for the function.
Fields
Field | Type | Description |
---|---|---|
SCHEMA |
string |
The schema in which the user defined function was created. |
FUNCTIONNAME |
string |
The name of the user defined function. |
PARAMETERCOUNT |
integer |
The number of |
NAME |
string |
The name of the parameter. If the row is for the returned variable of the function, this |
TYPE |
integer |
Indicates the type of the parameter: 1 for an |
DATATYPE |
integer |
The integer for the type as represented by the |
DATATYPENAME |
string |
The type as represented by the |
PRECISION |
integer |
The precision specified for a fixed precision numeric, |
LENGTH |
integer |
Length associated with the data type - this is the precision assigned to a |
SCALE |
integer |
The scale specified for a fixed precision numeric type |
OCTET_LENGTH |
integer |
The size in bytes of the parameter |
ORDINAL |
integer |
The placement of this parameter in the function call. This value equals 0 for the row that is reserved for the returned value of a function. |
Example
See the example for SYSTEM.FUNCTIONS
for the usage of this table (FUNCTIONS System Table Description).