39.40. routine_column_usage
Представление routine_column_usage идентифицирует все столбцы, используемые функцией или процедурой, либо в теле SQL, либо в стандартных выражениях параметров. (Это представление поддерживается только для тел SQL без кавычек, но не для тел или функций на других языках.) Столбец выводится только в том случае, если его таблица принадлежит роли, активной в данный момент.
Таблица 39.38. Столбцы routine_column_usage
Тип столбца Описание |
|---|
Имя базы данных, содержащей функцию (всегда текущая база) |
Имя схемы, содержащей функцию |
«Однозначное имя» функции. Подробнее оно описано в Разделе 39.45. |
Имя базы данных, содержащей функцию (всегда текущая база) |
Имя схемы, содержащей функцию |
Имя функции (может дублироваться в случае перегрузки) |
Имя базы данных, содержащей таблицу, задействованную в функции (всегда текущая база) |
Имя схемы, содержащей таблицу, задействованную в функции |
Имя таблицы, задействованной в функции |
Имя столбца, задействованного в функции |
39.40. routine_column_usage
The view routine_column_usage identifies all columns that are used by a function or procedure, either in the SQL body or in parameter default expressions. (This only works for unquoted SQL bodies, not quoted bodies or functions in other languages.) A column is only included if its table is owned by a currently enabled role.
Table 39.38. routine_column_usage Columns
Column Type Description |
|---|
Name of the database containing the function (always the current database) |
Name of the schema containing the function |
The “specific name” of the function. See Section 39.45 for more information. |
Name of the database containing the function (always the current database) |
Name of the schema containing the function |
Name of the function (might be duplicated in case of overloading) |
Name of the database that contains the table that is used by the function (always the current database) |
Name of the schema that contains the table that is used by the function |
Name of the table that is used by the function |
Name of the column that is used by the function |