Select * from sys.all_columns
Select * from sys.all_objects
Select * from sys.schemas
Select * from sys.databases
Select * from sys.types
Select * from sys.key_constraints
Select * from sys.index_columns
Select * from sys.indexes
Select * from sys.identity_columns
Select * from sys.check_constraints
做Sql2008数据库结构自动检查最常用的几张表
本文提供了一系列针对不同数据库对象的SQL查询语句,包括列、对象、模式、数据库、类型等,帮助读者快速了解如何从系统目录中检索信息。

被折叠的 条评论
为什么被折叠?



