1. Home
  2. Computing & Technology
  3. Databases

Unique Constraints

By Mike Chapple, About.com

Definition: Unique constraints allow database administrators to specify that a column may not contain duplicate values. When you create a new unique constraint, the DBMS checks the column in question to determine whether it contains any duplicate values. If the table contains preexisting duplicates, the constraint creation command fails. Similarly, once you have a unique constraint on a column, attempts to add or modify data that would cause duplicates to exist also fail.
Explore Databases
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Databases
  4. Administration
  5. Unique Constraints - About Databases Definition>

©2009 About.com, a part of The New York Times Company.

All rights reserved.