惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
M
MIT News - Artificial intelligence
GbyAI
GbyAI
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
爱范儿
爱范儿
N
Netflix TechBlog - Medium
U
Unit 42
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 叶小钗
G
Google Developers Blog
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
腾讯CDC

博客园 - 我爱写sql

不经保存,直接读取上传文件的内容 - 我爱写sql - 博客园 server2005系统表知多少 之sysusers server2005系统表知多少 之systypes server2005系统表知多少 之syspermissions server2005系统表知多少 之sysobjects server2005系统表知多少 之sysmembers server2005系统表知多少 之sysindexes server2005系统表知多少 之sysfiles server2005系统表知多少 之sysforeignkeys server2005系统表知多少 之sysfilegroups server2005系统表知多少 之sysconstraints server2005系统表知多少 之sysprocesses server2005系统表知多少 之sysremotelogins server2005系统表知多少 之sysoledbusers server2005系统表知多少 之syslogins server2005系统表知多少 之syslanguages server2005系统表知多少 之sysdatabases server2005系统表知多少 之sysconfigures server2005系统表知多少 之syscharsets
server2005系统表知多少 之syscolumns
我爱写sql · 2007-11-26 · via 博客园 - 我爱写sql

每个表和视图中的每列在表中占一行,存储过程中的每个参数在表中也占一行。该表位于每个数据库中。

列名 数据类型 描述
name  sysname  列名或过程参数的名称。
id  int  该列所属的表对象 ID,或与该参数关联的存储过程 ID。
xtype  tinyint  systypes 中的物理存储类型。
typestat  tinyint  仅限内部使用。
xusertype  smallint  扩展的用户定义数据类型 ID。
length  smallint  systypes 中的最大物理存储长度。
xprec  tinyint  仅限内部使用。
xscale  tinyint  仅限内部使用。
colid  smallint  列或参数 ID。
xoffset  smallint  仅限内部使用。
bitpos  tinyint  仅限内部使用。
reserved  tinyint  仅限内部使用。
colstat  smallint  仅限内部使用。
cdefault  int  该列的默认值 ID。
domain  int  该列的规则或 CHECK 约束 ID。
number  smallint  过程分组时(0 表示非过程项)的子过程号。
colorder  smallint  仅限内部使用。
autoval  varbinary(255)  仅限内部使用。
offset  smallint  该列所在行的偏移量;如果为负,表示可变长度行。
status  tinyint  用于描述列或参数属性的位图:
0x08 = 列允许空值。
0x10 = 当添加 varchar 或 varbinary 列时,ANSI 填充生效。保留 varchar 列的尾随空格,保留 varbinary 列的尾随零。
0x40 = 参数为 OUTPUT 参数。
0x80 = 列为标识列。
 
type  tinyint  systypes 中的物理存储类型。
usertype  smallint  systypes 中的用户定义数据类型 ID。
printfmt  varchar(255)  仅限内部使用。
prec  smallint  该列的精度级别。
scale  int  该列的小数位数。
iscomputed  int  表示是否已计算该列的标志:
0 = 未计算。
1 = 已计算。
 
isoutparam  int  表示该过程参数是否是输出参数:
1 = 真。
0 = 假。
 
isnullable  int  表示该列是否允许空值:
1 = 真。
0 = 假。