|
|
Question : Case sensitivity
|
|
Hi,
I am not an MS SQL server expert. I ran to a problem I hope you can help me out with. MS SQL 8.0 was installed by a third person and was working well so far. Now we have a problem with some software and mixed letters in db object names: Articles, articles, ...
I checked DB info and it is created in server default collation: hungarian_ci_as I also checked installation server settings which is all case-insensitive, except sort order is 52 on Code Page 1252 for non-Unicode Data. What does this tells you?
Seems like only the object names are case sensitive (table names). Is there a way to change this somehow without reinstalling the server completly?
thanks, Peter
|
Answer : Case sensitivity
|
|
1.You can change server collation by running "rebuildm" utility from the command line. However, this utility does not work well always; sometimes it's easier to reinstall the server. As well, it does not change collation setting of existing databases, fields you have to use "alter database" or "alter table" command if you want to change database of fields collation. 2.Try to keep all objects at your server with same collation, in order to prevent collation conflicts. You can prevent collation conflicts directly in your T-SQL code, but it affects performance.
|
|
|
|
|