C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Transact Basic to Expert - Add Unique Constraints to Existing Table
WhatsApp
Karthikeyan Anbarasan
14y
3.6
k
0
0
25
Blog
This blog shows how to add UNIQUE constraint to the existing table.
Syntax:
Alter table tablename
Add contraint(ConstraintName)
Unique(ColumnName)
Example:
Alter table emptable
Add Constraint(Unq_emptable_empsalary)
Unique(empsalary)
People also reading
Membership not found