37.61. view_column_usage

视图view_column_usage标识视图查询表达式(定义视图的SELECT语句)中使用的所有列。仅当包含列的表由当前启用的角色拥有时,才包含列。

Note

不包括系统表的列。这应该在某个时间解决。

表 37.59. view_column_usage

Name Data Type Description
view_catalog sql_identifier 包含视图的数据库的名称(总是当前数据库)
view_schema sql_identifier 包含视图的架构的名称
view_name sql_identifier 视图名称
table_catalog sql_identifier 包含表的数据库的名称,该表包含视图使用的列(总是当前数据库)
table_schema sql_identifier 包含表的架构名称,该表包含视图使用的列
table_name sql_identifier 包含视图使用的列的表的名称
column_name sql_identifier 视图使用的列的名称
上一章 首页 下一章