1 create table sysdatabases(-- 5 Rows, Data: 2 KB, Index: 6 KB
2 name sysname not null,
3 dbid smallint not null,
4 suid int not null,
5 status smallint not null,
6 version smallint not null,
7 logptr int not null,
8 crdate datetime not null,
9 dumptrdate datetime not null,
10 status2 smallint null,
11 audflags int null,
12 deftabaud int null,
13 defvwaud int null,
14 defpraud int null,
15 def_remote_type smallint null,
16 def_remote_loc varchar(349) null,
17 status3 int null,
18 status4 int null,
19 audflags2 varbinary(16) null,
20 spare tinyint null,
21 durability int null,
22 lobcomp_lvl tinyint null,
23 inrowlen smallint null,
24 dcompdefaultlevel tinyint null
25 )
26
27 create unique clustered index cdatabases on sysdatabases(-- 2 KB refcount: 83
28 name
29 )
30 create unique index ncsysdatabases on sysdatabases(-- 2 KB refcount: 72
31 dbid
32 )
33
34 alter table sysdatabases lock datarows
35
36 Grant Select on sysdatabases to public
37 Grant Select on sysdatabases to sso_role
38
Estimated Index Usage |
sysdatabases.cdatabases unique clustered(name) | 83 |
sysdatabases.ncsysdatabases unique(dbid) | 72 |
ALIASES USED for master..sysdatabases |
NO_ALIAS | a | b | d | d1 | db | s | sd | sysdatabases |
130 | 6 | 1 | 21 | 3 | 6 | 2 | 1 | 15 |
SCHEMA |
|