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. SQL Case Sensitivity

SQL Case Sensitivity

Scheduled Pinned Locked Moved Database
databasequestionsql-serversysadminhelp
3 Posts 3 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.
  • D Offline
    D Offline
    deanoA
    wrote on last edited by
    #1

    Hi! I am using sql server 2000. How do I make my DB case sensitive without reinstalling sql server 2k? Please help me on this. "To teach is to learn twice"

    A M 2 Replies Last reply
    0
    • D deanoA

      Hi! I am using sql server 2000. How do I make my DB case sensitive without reinstalling sql server 2k? Please help me on this. "To teach is to learn twice"

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Reinstalling won't help. You bought the wrong product. You should have purchased SQL Server 2K. ;P

      1 Reply Last reply
      0
      • D deanoA

        Hi! I am using sql server 2000. How do I make my DB case sensitive without reinstalling sql server 2k? Please help me on this. "To teach is to learn twice"

        M Offline
        M Offline
        Mike Dimmick
        wrote on last edited by
        #3

        If you just want to change a single database, you need to run an ALTER DATABASE query, e.g.

        ALTER DATABASE mydb
        COLLATE SQL_Latin1_General_CS_AS

        This only alters the new default and how object names are interpreted; you'll need to alter any existing tables as well. If you need to change the default collation of the database server (including the tempdb database), you should run the rebuildm tool. See also KB article 273572[^] about a problem with this tool when the source files are read-only. rebuildm lives in the 80\Tools\binn directory under the SQL Server install directory. Note that rebuildm and setup use 'friendly' names for the collations, whereas Enterprise Manager and queries use a different naming convention. The names used in setup are listed in Selecting a SQL Collation[^], while the names used in queries may be found under SQL Collation Names[^]. There are two types of collations: those implemented using the Windows national language support functions (Windows collations) and those implemented independently by SQL Server (SQL collations). SQL collations have names beginning SQL.

        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