1 create table syscolumns(-- 0 Rows, Data: 24 KB, Index: 42 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 create unique clustered index csyscolumns on syscolumns(-- 18 KB refcount: 1
35 id, number, colid
36 )
37
38 alter table syscolumns lock datarows
39
40 Grant Select on syscolumns to public
41
JOINS |
From Columns | To Table | To Columns | Cnt | Cstr | Strength | [usertype] | tempdb..systypes | [usertype] | 2 | | FK |
|
Estimated Index Usage |
syscolumns.csyscolumns unique clustered(id, number, colid) | 1 |
ALIASES USED for tempdb..syscolumns |
c |
1 |
SCHEMA |
|