Aracılığıyla paylaş


sys.sysobjects (Transact-SQL)

Kısıtlama, varsayılan, günlük, kural ve saklı yordam gibi bir veritabanı içinde oluşturduğunuz her nesne için bir satır içerir.

Important noteImportant Note:

This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views. This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Sütun adı

Veri türü

Açıklama

adı

sysname

Nesne adı

Kimliği

int

Nesne tanımlayıcı numarası

xtype

char(2)

Nesne türü.Aşağıdaki nesne türlerinden biri olabilir:

AF topluluğu = işlev (CLR)

C CHECK kısıtlaması =

D varsayılan = veya VARSAYıLAN kısıtlama

F yabancı anahtar kısıtlaması =

M günlüğü =

FN skaler = işlev

FS = derleme (CLR) skaler-işlev

FT (CLR) derleme = tablo değerli işlev

Eğer gelen çizgili = tablo-işlevi

BT iç tablo =

P saklı yordam =

PC derleme (CLR) depolanan-yordamı =

BA birincil anahtar kısıtlaması = (tür K'dır)

RF çoğaltma filtre saklı yordamını =

S sistem tablo =

SN eşanlamlı =

SQ hizmet sıra =

TA (CLR) derleme DML triggerTF = = tablo işlevi

TR SQL DML tetikleyicisi =

TT = tablo türü

U kullanıcı tablo =

UQ UNIQUE sınırlamasıyla = (tür K'dır)

V View =

X = saklı yordam genişletilmiş

UID

smallint

Nesnenin sahibini şema KIMLIĞI.

Bir önceki sürümlerinden yükseltme için veritabanı SQL Server, şema KODU için sahibinin kullanıcı KIMLIĞI eşittir.

Important noteImportant Note:
Aşağıdakilerden herhangi birini kullanıyorsanız SQL Server DDL ifadeleri kullanmalısınız sys.Objects sys.sysobjects yerine katalog görüntüleyin.OLUŞTUR | DEĞİŞİKLİK | AÇILAN KULLANICIOLUŞTUR | DEĞİŞTİRME | AÇILAN ROLÜOLUŞTUR | DEĞİŞTİRME | uygulama rolü BIRAKMAŞEMA OLUŞTURMA alter YETKİLENDİRME ÜZERİNDE NESNESİ

Kullanıcılar ve roller 32.767 aşarsa, NULL döndürüyor ya da uzaklıklarını aşıyor.

Daha fazla bilgi için bkz:SQL Server Sistem kataloğu sorgulanıyor..

bilgi

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Durum

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

base_schema_ver

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

replinfo

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

parent_obj

int

Üst nesnenin nesne kimlik numarası.Bir tetikleyici veya Unique ise, tablo KIMLIĞI.

crdate

datetime

Nesnenin oluşturulduğu tarih.

ftcatid

smallint

Tam metin dizin oluşturma ve 0'ın kayıtlı tüm kullanıcı tablolar için tüm kullanıcı tablo için tam metin kataloğu tanıtıcısı kaydedilir.

schema_ver

int

Sürüm numarası her saat için şema artan bir tablo değişiklikleri.Her zaman 0 değerini döndürür.

stats_schema_ver

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

türü

char(2)

Nesne türü.Aşağıdaki değerlerden biri olabilir:

AF topluluğu = işlev (CLR)

C CHECK kısıtlaması =

D varsayılan = veya VARSAYıLAN kısıtlama

F yabancı anahtar kısıtlaması =

FN skaler = işlev

FS = derleme (CLR) skaler-işlev

FT (CLR) derleme tablo değerli işlev IF = = gelen Düzen tablosu-işlev

BT - iç tablo

K birincil anahtar veya UNIQUE sınırlaması =

M günlüğü =

P saklı yordam =

PC derleme (CLR) depolanan-yordamı =

R kuralı =

RF çoğaltma filtre saklı yordamını =

S sistem tablo =

SN eşanlamlı =

SQ hizmet sıra =

TA (CLR) derleme DML tetikleyicisi =

TF tablo fonksiyonu =

TR SQL DML tetikleyicisi =

TT = tablo türü

U kullanıcı tablo =

V View =

X = saklı yordam genişletilmiş

userstat

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

sysstat

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

indexdel

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

refdate

datetime

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Sürüm

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

deltrig

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

instrig

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

updtrig

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

seltrig

int

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Kategori

int

yayın, kısıtlamaları ve kimlik için kullanılır.

önbellek

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Değişiklik Geçmişi

Güncelleştirilmiş içerik

Aşağıdaki türlerden xtype ve tür sütunlara eklendi: AF toplu fonksiyonu (CLR) FS = derleme (CLR) skaler işlev, FT = derleme (CLR) tablo değerli işlev = BT - iç tablo, PC derleme (CLR) depolanan-yordamı, SN = eşanlamlı, SQ = hizmet sırası, TA = derleme (CLR) DML tetikleyicisi, TT = = tablo türü.