Sqlserver
 sql >> Base de données >  >> RDS >> Sqlserver

Existe-t-il une table contenant la liste des descriptions sysobjects.xtype ?

Il y a ceci

SELECT name 
FROM master..spt_values
WHERE type = 'O9T'

Sortie

AF: aggregate function
AP: application
C : check cns
D : default (maybe cns)
EN: event notification
F : foreign key cns
FN: scalar function
FS: assembly scalar function
FT: assembly table function
IF: inline function
IS: inline scalar function
IT: internal table
L : log
P : stored procedure
PC : assembly stored procedure
PK: primary key cns
R : rule
RF: replication filter proc
S : system table
SN: synonym
SQ: queue
TA: assembly trigger
TF: table function
TR: trigger
U : user table
UQ: unique key cns
V : view
X : extended stored proc
sysobjects.type, reports