Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select not case sensitive
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01545328
Message ID:
01545387
Views:
39
>>>This, that even the column names have to be matching in case, concerns me. I can deal with the values to be compared (by using UPPER()) but making sure that column names in my code match the names in tables will be a challenge.
>>>I hope more SQL Servers do not have case sensitive set ON.
>>>
>>
>>It is quite rare to have Case Sensitive installation of SQL Server. Usually if the SQL Server was installed with the wrong collation, the best course of action is to re-install the SQL Server.
>
>And then design your app to completely ignore case. If you are searching text, use case insensitive collation or UPPER() or LOWER() to make sure of it.
Using UPPER or LOWER function will not allow SQL Server to utilize indexes and will result in a table scan.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform