Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8418103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:13:40+00:00 2026-06-10T02:13:40+00:00

I saw one or two threads talking globally about case sensitivity, but my question

  • 0

I saw one or two threads talking globally about case sensitivity, but my question is more specific.

I understand the interest of case insensitive searches on text values for example.

But why would we use case-insensitive database names, tables and columns?

Isn’t it going to lead to mistakes? Script languages that use databases are all case-sensitive, so for example if we didn’t use the right case for a field it will not be found…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:13:41+00:00Added an answer on June 10, 2026 at 2:13 am

    The SQL:2008 and SQL-99 standards define databases to be case-insensitive for identifiers unless they are quoted. I’ve found most ORMs will quote identifiers in the SQL they generate.

    However, as you probably know not all relational databases strictly adhere to the standards. DB2 and Oracle are 100% compliant. PostgreSQL is mostly compliant, except for the fact that it automatically lowercases anything that isn’t quoted (which personally I prefer.)

    mySQL gets a bit weird, since it stores each table as a file on the file system. For this reason, it’s subject to the case sensitivity of the file system. On Windows:

    CREATE TABLE FOO (a INTEGER);
    CREATE TABLE 'Foo' (a INTEGER); -- Errors out, already exists
    

    Where-as on Linux:

    CREATE TABLE FOO (a INTEGER); -- Creates FOO table
    CREATE TABLE 'Foo' (a INTEGER); -- Creates Foo table
    

    SQL Server is even stranger. It will preserve the case on creation, however let you refer to it in any way after (even if you quote the name!) You can’t create two tables whose only difference is their casing. Note: SQL Server does have configuration options that control this stuff though, as case-sensitivity of identifiers will depend on the default collation of the database instance. How confusing!

    While for the most part I agree with you that computers (programming languages, databases, file systems, URLs, passwords, etc) should be case-sensitive, all systems are implemented independently and may or may not adhere to standards that may or may not exist. Implementing a case-senstive database is definitely possible, if you know the ins and outs of your particular database system and how it behaves.

    It’s really your responsibility to implement your system in a way that works for you, and not the entire technology industry to implement everything in a consistent way to make your life easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw two related questions about this topic - one has an old link
I saw some threads on this already on Stack, but wanted a little more
I saw two diffrent way to pass integer in assmbler: the one by [eax],
How do you do it? I saw one video tutorial on it, but the
im looking for an example script. I saw one yesterday but for the life
I just saw this question and one of the answers looks really appealing to
I've been reading through a few tutorials about css, and I saw two different
I saw just two examples: one and two I've been told that those effects
I saw this question, but I didn't find my answer in it.. So, why
Is there any reason to do anything more complicated than one of these two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.