O
ozgur develioglu
hi everyone,
I've a USER table which contains USERNAME column. I try to keep
usernames unique. When I'm adding I new user, I frist go to database and
check if that username already exists and if no I add that user. As you see
I went to database two times. In order to do this can I set the column
unique at SQL Server 2000 and at the program side check the errors.
I'm dealing with a ASP.NET application and I need quick user adding
operation.
thanks in advance.
Ozgur Develioglu
I've a USER table which contains USERNAME column. I try to keep
usernames unique. When I'm adding I new user, I frist go to database and
check if that username already exists and if no I add that user. As you see
I went to database two times. In order to do this can I set the column
unique at SQL Server 2000 and at the program side check the errors.
I'm dealing with a ASP.NET application and I need quick user adding
operation.
thanks in advance.
Ozgur Develioglu