ROUTINE_COLUMNS
Applies to: Databricks SQL Databricks Runtime 11.3 LTS and above Unity Catalog only
INFORMATION_SCHEMA.ROUTINE_COLUMNS lists the result columns of table valued functions within the catalog.
The rows returned are limited to the routines the user is privileged to interact with.
This relation is an extension to the SQL standard information schema.
Definition
The ROUTINE_COLUMNS
relation contains the following columns:
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
Catalog containing the routine. |
|
|
No |
Database (schema) containing the routine. |
|
|
No |
Schema unique (specific) name of the routine. |
|
|
No |
The position (1-based) of the column in the result column list. |
|
|
Yes |
Name of the column, |
|
|
No |
The parameter data type name. |
|
|
No |
The parameter data type definition, for example |
|
|
Yes |
Always |
|
|
Yes |
Always |
|
|
Yes |
For base-2 integral numeric types, |
|
|
No |
For |
|
|
Yes |
For integral numeric types 0, for |
|
|
Yes |
For |
|
|
Yes |
For |
|
|
Yes |
Always |
|
|
Yes |
Always |
|
|
Yes |
Always |
|
|
Yes |
An optional comment describing the result column. |
Constraints
The following constraints apply to the ROUTINE_COLUMNS
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Uniquely identifies the result column. |
Foreign key |
|
|
References ROUTINES |