Results 1 to 2 of 2

Thread: case sensitive

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Springfield
    Posts
    120

    case sensitive

    Select * from psUser where Password = 'Password' and userid = 'userid'

    if recordcount > 0 then -------

    Can I ask you how to make this case sensitive. Because I want to check password and userid by case sensitive
    MM

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Code:
    SELECT 
         *
    FROM 
         psUser
    WHERE 
         StrComp(Password, "Password", 0) = 0 AND
         StrComp(userid , "userid", 0) = 0
    You can check this out from MSDN. Now, the article is about joins, but the theory is the same.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width