News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

Sql Constaints

Started by sukishan, Jul 10, 2009, 03:19 PM

Previous topic - Next topic

sukishan

Constraints

Constraints are used to limit the type of data that can go into a table.

Constraints can be specified when a table is created (with the CREATE TABLE statement) or after the table is created (with the ALTER TABLE statement).

We will focus on the following constraints:

NOT NULL
UNIQUE
PRIMARY KEY
FOREIGN KEY
CHECK
DEFAULT
A good beginning makes a good ending