Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

sysconstraints System Table - SQL Server 2000

RSS
Modified on Fri, May 01, 2009, 10:53 AM by Administrator Categorized as SQL Server System Tables
Contains mappings of constraints to the objects that own the constraints. This system catalog is stored in each database.

Column nameData typeDescription
constidintConstraint number.
idintID of the table that owns the constraint.
colidsmallintID of the column on which the constraint is defined, 0 if a table constraint.
spare1tinyintReserved.
statusintBitmap indicating the status. Possible values include: 1 = PRIMARY KEY constraint.; 2 = UNIQUE KEY constraint.; 3 = FOREIGN KEY constraint.; 4 = CHECK constraint.; 5 = DEFAULT constraint.; 16 = Column-level constraint.; 32 = Table-level constraint.
actionsintReserved.
errorintReserved.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2018, Patrick Jasinski.