Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Case Sensitive in sqlserver

Case Sensitive in sqlserver

Scheduled Pinned Locked Moved ASP.NET
databasequestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trishul Tandel
    wrote on last edited by
    #1

    Hi all I have a login form(user name and password) that reads its data from a database, I need to check the password textbox letters case, e.g. if the user wrote "admin" it will be different than "ADMIN"... Is there is any function to do that?

    Best Regards, Trishul Tandel Software Developer

    J P V 3 Replies Last reply
    0
    • T Trishul Tandel

      Hi all I have a login form(user name and password) that reads its data from a database, I need to check the password textbox letters case, e.g. if the user wrote "admin" it will be different than "ADMIN"... Is there is any function to do that?

      Best Regards, Trishul Tandel Software Developer

      J Offline
      J Offline
      Jintal Patel
      wrote on last edited by
      #2

      hiii in sql server we can't identify Case Sensitive..so if u want then store encripted password in database.means use the encription/decrition method for password .using that u can able to match exact value.

      Jintal Patel

      1 Reply Last reply
      0
      • T Trishul Tandel

        Hi all I have a login form(user name and password) that reads its data from a database, I need to check the password textbox letters case, e.g. if the user wrote "admin" it will be different than "ADMIN"... Is there is any function to do that?

        Best Regards, Trishul Tandel Software Developer

        P Offline
        P Offline
        pmarfleet
        wrote on last edited by
        #3

        You are hashing your passwords aren't you? You're not just storing them in the database as clear text? If you aren't, this is a big security risk. Password hashing is easy if you use the ASP.NET 2.0 Membership API; it does it for you with the default SQL provider.

        Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

        1 Reply Last reply
        0
        • T Trishul Tandel

          Hi all I have a login form(user name and password) that reads its data from a database, I need to check the password textbox letters case, e.g. if the user wrote "admin" it will be different than "ADMIN"... Is there is any function to do that?

          Best Regards, Trishul Tandel Software Developer

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Check out this article: http://vyaskn.tripod.com/case_sensitive_search_in_sql_server.htm[^]

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups