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. Database & SysAdmin
  3. Database
  4. username and password

username and password

Scheduled Pinned Locked Moved Database
databasesql-serversysadmintutorial
6 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
    trilokharry
    wrote on last edited by
    #1

    how to insert username and password in table(sql server 2005) with case sensitive. so I can check small(abc...) and capital(ABC...) letters also while logged in. thanks

    You get the best out of others when you give the best of yourself.

    I A A 3 Replies Last reply
    0
    • T trilokharry

      how to insert username and password in table(sql server 2005) with case sensitive. so I can check small(abc...) and capital(ABC...) letters also while logged in. thanks

      You get the best out of others when you give the best of yourself.

      I Offline
      I Offline
      its rajendra
      wrote on last edited by
      #2

      Hi, Just use UPPER & LOWER method during insert command in sql...

      T 1 Reply Last reply
      0
      • I its rajendra

        Hi, Just use UPPER & LOWER method during insert command in sql...

        T Offline
        T Offline
        trilokharry
        wrote on last edited by
        #3

        that is fine but it will be static in either small or block letters. I want in, whatever user enter in small or block letter. should not be changed internally. thanks to give me response.

        You get the best out of others when you give the best of yourself.

        1 Reply Last reply
        0
        • T trilokharry

          how to insert username and password in table(sql server 2005) with case sensitive. so I can check small(abc...) and capital(ABC...) letters also while logged in. thanks

          You get the best out of others when you give the best of yourself.

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #4

          Just insert teh values as suppplied, then when you are looking for them use select * from table where convert(varbinary,username) = convert(varbinary,@inputvalue) Using varbinary effectively makes the select case sensitive

          Bob Ashfield Consultants Ltd

          T 1 Reply Last reply
          0
          • A Ashfield

            Just insert teh values as suppplied, then when you are looking for them use select * from table where convert(varbinary,username) = convert(varbinary,@inputvalue) Using varbinary effectively makes the select case sensitive

            Bob Ashfield Consultants Ltd

            T Offline
            T Offline
            trilokharry
            wrote on last edited by
            #5

            thanks a lot for your kind help. it's also working fine....... thanks

            You get the best out of others when you give the best of yourself.

            1 Reply Last reply
            0
            • T trilokharry

              how to insert username and password in table(sql server 2005) with case sensitive. so I can check small(abc...) and capital(ABC...) letters also while logged in. thanks

              You get the best out of others when you give the best of yourself.

              A Offline
              A Offline
              Alsvha
              wrote on last edited by
              #6

              Change collation to something case sensitive if you want to have case sensitivity.

              --------------------------- Blogging about SQL, Technology and many other things

              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