I'm writing a register page use ASP (javascript) and Microsoft SQL Server 2000, but I don't know to check user (username and email) already in database before insert new user (my database is Customers).
If your T-SQL skills are better than your ASP, perhaps a single stored procedure would be the easiest way to do it. The logic could first query for a match and then conditionally INSERT or UPDATE depending on the query results.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.