Is DEFAULT a constraint?

Giganews Newsgroups
Subject: Is DEFAULT a constraint?
Posted by:  Eric Bragas (ericbrag…@yahoo.com)
Date: 8 Aug 2006

Hi,

I see the following in Books Online: CONSTRAINT--Is an optional keyword
indicating the beginning of a PRIMARY KEY, NOT NULL, UNIQUE, FOREIGN
KEY, or CHECK constraint definition...

But I have a table column defined as follows:

[MONTH] [decimal] (2, 0) NOT NULL CONSTRAINT
[DF__TBLNAME__MONTH__216361A7] DEFAULT (0)

My question: Is "DEFAULT" a constraint, or is it called something else?

Thanks,
Eric

Replies