Information_Schema View Listing

6 篇文章 0 订阅
List of all MSSQL INFORMATION_SCHEMA views:
INFORMATION_SCHEMA.CHECK_CONSTRAINTS  Holds information about constraints in the database 

INFORMATION_SCHEMA.COLUMN_DOMAIN_USAGE Identifies which columns in which tables are user-defined datatypes

INFORMATION_SCHEMA.COLUMN_PRIVILEGES Has one row for each column level permission granted to or by the current user

INFORMATION_SCHEMA.COLUMNS Lists one row for each column in each table or view in the database

INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE Lists one row for each column that has a constraint defined on it

INFORMATION_SCHEMA.CONSTRAINT_TABLE_USAGE Lists one row for each table that has a constraint defined on it

INFORMATION_SCHEMA.DOMAIN_CONSTRAINTS Lists the user-defined datatypes that have rules bound to them

INFORMATION_SCHEMA.DOMAINS Lists the user-defined datatypes

INFORMATION_SCHEMA.KEY_COLUMN_USAGE Lists one row for each column that's defined as a key

INFORMATION_SCHEMA.PARAMETERS Lists one row for each parameter in a stored procedure or user-defined function

INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS Lists one row for each foreign constraint

INFORMATION_SCHEMA.ROUTINES Lists one row for each stored procedure or user-defined function

INFORMATION_SCHEMA.ROUTINE_COLUMNS Contains one row for each column returned by any table-valued functions

INFORMATION_SCHEMA.SCHEMATA Contains one row for each database

INFORMATION_SCHEMA.TABLE_CONSTRAINTS Lists one row for each constraint defined in the current database

INFORMATION_SCHEMA.TABLE_PRIVILEGES Has one row for each table level permission granted to or by the current user

INFORMATION_SCHEMA.TABLES Lists one row for each table or view in the current database

INFORMATION_SCHEMA.VIEW_COLUMN_USAGE Lists one row for each column in a view including the base table of the column where possible

INFORMATION_SCHEMA.VIEW_TABLE_USAGE Lists one row for each table used in a view

INFORMATION_SCHEMA.VIEWS Lists one row for each view


加强色的那三个视图是最常用的。 哈哈 : )



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值