Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prohibiting duplicate data rows

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
hey there was wondering if there was some way from prohibiting duplicate data from entering the sql server database.

thanks
 
Do you mean duplicate in the same field, or duplicate records in the same table? BeckahC
 

Rows should have primary key, unique index or unique contraint. These will prevent duplication. Primary keys, indexes and constraints can be composite of multiple columns if necessary. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top