Viewing 2 posts - 1 through 3 (of 3 total)
Might be I'm wrong, but I don't htink you can compare varaible without value to result of select. I meant
IF @tmpPasswordRtrv = (SELECT strPassword FROM Users WHERE lUniqueID = @lUserID)
and
IF...
July 31, 2007 at 9:47 am
#723637
Usually in cases like this I use double quotes to identify the text. All comas within quotes are recognized as part of text.
July 18, 2007 at 2:59 pm
#720554