简体   繁体   中英

Are table names in query case-insensitive?

I have read the following article . They have quoted that,

SQL Server is a case-sensitive back-end application. This means that a table named "addr" is distinguished from a table named "ADDR." However, because Microsoft Query is an MS-DOS-based application, it is unable to distinguish cases; therefore, Microsoft Query views "addr" and "ADDR" as the same file.

Now I wanted to know what to they mean by case-sensitive back-end application ? Is it safe to use the query with case-insensitivity ?

Thanks in advance.

SQL Server with default collation will return you the same result, doesn't matter which case you use for your query.

Collation can be set at various levels

  1. Server
  2. Database
  3. Column

For more info can be found out here

Please check Applies To section of the article you referenced. KB article applies to product from Microsoft for which they no longer provide any support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM