1 create table syscolumns(-- 1.4 KRows, Data: 158 KB, Index: 220 KB
2 id int not null,
3 number smallint not null,
4 colid smallint not null,
5 status tinyint not null,
6 type tinyint not null,
7 length int not null,
8 offset smallint not null,
9 usertype smallint not null,
10 cdefault int not null,
11 domain int not null,
12 name longsysname(255) not null,
13 printfmt varchar(255) null,
14 prec tinyint null,
15 scale tinyint null,
16 remote_type int null,
17 remote_name varchar(255) null,
18 xstatus int null,
19 xtype int null,
20 xdbid int null,
21 accessrule int null,
22 status2 int null,
23 status3 smallint not null,
24 computedcol int null,
25 encrtype int null,
26 encrlen int null,
27 encrkeyid int null,
28 encrkeydb sysname null,
29 encrdate datetime null,
30 lobcomp_lvl tinyint null,
31 inrowlen smallint null
32 )
33
34
35 create unique clustered index csyscolumns on syscolumns(-- 62 KB refcount: 15
36 id, number, colid
37 )
38
39 alter table syscolumns lock datarows
40
41 Grant Select on syscolumns to public
42
Estimated Index Usage |
syscolumns.csyscolumns unique clustered(id, number, colid) | 15 |
ALIASES USED for master..syscolumns |
NO_ALIAS | c |
13 | 3 |
SCHEMA |
|
QUERIES |
Joined With | Links |