My asp.net program will create a user register page. I want user using email to login and make both email and MemberID (from external source) as unique column.
How to set both [Email] and [MemberID] column to void adding duplicate record?
If I set both columns as unique column, do I need to code in program, or SQL will send an error to program if user input a duplicate record?