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

creating a unique column

Status
Not open for further replies.

bonosa

Programmer
May 19, 2004
76
US
I googled but cant find it: I need to know how to create a column thats unique when I make my table.
Thanks,
sb
 
Code:
create table t(c1 char(12), 
constraint uniqueC1 unique(c1),
<other columns>)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top