Hi all,
Below is my code to verify user. Can anyone suggest me how can i do username and password case sensitive check (SQL SERVER 2000), which the below code lacks.
Code:
CREATE PROCEDURE sp_VerifyUser
@uname varchar(30),
@pwd varchar(30),
@uid varchar(20) out
AS
if exists(select * from users where uname=@uname and pwd=@pwd)
select @uid=cast(uid as varchar) from users where uname=@uname and pwd=@pwd
else
select @uid="notfound"
GO
Thanks
Vinay