VIEW_ROUTINE_USAGE 表提供有关在视图定义中使用的存储函数的信息。该表不列出在定义中使用的内置(本地)函数或可加载函数的信息。The VIEW_ROUTINE_USAGE table provides
access to information about stored functions used in view
definitions. The table does not list information about built-in
(native) functions or loadable functions used in the definitions.
您只能查看您拥有某些权限的视图的信息,以及您对其具有某些权限的函数的信息。You can see information only for views for which you have some privilege, and only for functions for which you have some privilege.
VIEW_ROUTINE_USAGE 表具有以下列:The VIEW_ROUTINE_USAGE table has
these columns:
TABLE_CATALOG视图所属目录的名称。此值始终为
def。The name of the catalog to which the view belongs. This value is alwaysdef.TABLE_SCHEMA视图所属模式(数据库)的名称。The name of the schema (database) to which the view belongs.
TABLE_NAMETABLE_NAME视图的名称。The name of the view.
SPECIFIC_CATALOG函数所属目录的名称,该函数在视图定义中使用。此值始终为
def。The name of the catalog to which the function used in the view definition belongs. This value is alwaysdef.SPECIFIC_SCHEMA视图定义中使用的函数所属的模式(数据库)名称。The name of the schema (database) to which the function used in the view definition belongs.
SPECIFIC_NAME视图定义中使用的函数名称。The name of the function used in the view definition.