You are on page 1of 1

declare @uname NVARCHAR(50), @emailid nvarchar(50) set @uname='bharath' set @emailid='' select UserName,Email from TBL_USERS where UserName=@uname

or Email=@emailid

You might also like