TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nethra R S
NA
310
334.6k
Adding constraint to varchar type column
Sep 19 2011 3:48 AM
Hi,
I have a table as below
CREATE TABLE [dbo].[tblLocationMaster](
[LocationID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[LocationName] [varchar](50) NOT NULL,
[Description] [varchar](500) NULL,)
I want to add a constraint on LocationName so that duplicate values do not get saved in table... How to do this?
Reply
Answers (
5
)
Authorize attribute in asp.net 3.5
Loosing text in label on postback