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

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - 我爱写sql

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

Microsoft? SQL Server? 上的每个数据库在表中占一行。最初安装 SQL Server 时, sysdatabases 包含 master 、 model 、 msdb 、 mssqlweb 和 tempdb 数据库的项。该表只存储在 master 数据库中。

列名 数据类型 描述
name  sysname  数据库的名称。
dbid  smallint  数据库 ID。
sid  varbinary(85)  数据库创建者的系统 ID。
mode  smallint  用于创建数据库时在内部锁定该数据库。
status  int  状态位,其中某些状态位可由用户使用 sp_dboption ( read only 、 dbo use only 、 single user 等)进行设置:
1 = autoclose ;使用 sp_dboption 设置。
4 = select into/bulkcopy ;使用 sp_dboption 设置。
8 = trunc. log on chkpt ;使用 sp_dboption 设置。
16 = torn page detection ,使用 sp_dboption 设置。
32 = loading 。
64 = pre recovery 。
128 = recovering 。
256 = not recovered 。
512 = offline ;使用 sp_dboption 设置。
1024 = read only ;使用 sp_dboption 设置。
2048 = dbo use only ;使用
sp_dboption 设置。
4096 = single user ;使用 sp_dboption 设置。
32768 = emergency mode 。
4194304 = autoshrink 。
1073741824 = cleanly shutdown 。

可以同时打开多个位。
 
status2  int  16384 = ANSI null default ;使用 sp_dboption 设置。
65536 = concat null yields null ,使用 sp_dboption 设置。
131072 = recursive triggers ,使用 sp_dboption 设置。
1048576 = default to local cursor ,使用 sp_dboption 设置。

8388608 = quoted identifier ,使用
sp_dboption 设置。
33554432 = cursor close on commit ,使用 sp_dboption 设置。
67108864 = ANSI nulls ,使用 sp_dboption 设置。
268435456 = ANSI warnings ,使用 sp_dboption 设置。
536870912 = full text enabled ,使用
sp_fulltext_database 设置。
crdate  datetime  创建日期。
reserved  datetime  留作以后使用。
category  int  包含用于复制的信息位图:
1 = 已发布。
2 = 已订阅。
4 = 合并已发布。
8 = 合并已订阅。
cmptlevel  tinyint  数据库的兼容级别。有关更多信息,请参见 sp_dbcmptlevel。 
filename  nvarchar(260)  数据库主文件的操作系统路径和名称。
version  smallint  创建数据库时使用的 SQL Server 代码内部版本号。仅供 SQL Server 工具在内部用于升级处理。