I'm writing a collection of SQL queries on SQL Server 2000 as a part of a web application, and I need to enforce case-sensitivity in the "where" clause.
The query is essentially a SELECT query, and I need to enforce the case sensitivity for the username and password the user enters.
I've never had to do this on the SQL Server, so I'm unsure how to do this. If anyone could help me out I would much appreciate it!
The query is essentially a SELECT query, and I need to enforce the case sensitivity for the username and password the user enters.
code:<HR>Code:SELECT UserID FROM User WHERE Username = 'blah' AND Password = 'blah2'
I've never had to do this on the SQL Server, so I'm unsure how to do this. If anyone could help me out I would much appreciate it!