Question : SQL

how to create a unique identifier for varchar?

e.g my name must not be entered into a database more than once?

i already have a primary key, do i have to use scripts?
coz i can't find a way of doing so?

plz help?

Answer : SQL

you can run this kind of t-SQL
1:
CREATE UNIQUE INDEX IDX_UNIQUE_NAME ON yourtable_name ( your_field_for_name )
Random Solutions  
 
programming4us programming4us