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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enforcing unique values on a non-PK column 1

Status
Not open for further replies.

Sashanan

Programmer
Jan 19, 2001
235
NL
In Access, I'm able to enforce that every value in a column is unique even if said column isn't the primary key. Am I able to do the same in SQL Server 7?

I'll be able to solve this problem in my application too with a little recordset searching, but if it's as simple as setting a flag somewhere in Enterprise Manager I'd rather do that; unfortunately I haven't been able to find how or where.

Thanks in advance!


"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
 
Thanks, that's what I needed.


"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top