dbTalk Databases Forums  

Case sensitivity in SQL -- ignore

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Case sensitivity in SQL -- ignore in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sweetpotatop@yahoo.com
 
Posts: n/a

Default Case sensitivity in SQL -- ignore - 03-14-2007 , 12:59 PM






Hi,

I believe my SQL server was configured as Case sensitivity. I have a
number of stored procedures which were moved from a non-Case
sensitivity SQL server. Because of the Case sensitivity, I have to do
a lot of editing in those stored procedures. Is there a quick way to
avoid the editing?

Something like ignoring the case in one statement?

Thanks in advance, your advice will be greatly appreciated.


Reply With Quote
  #2  
Old   
M A Srinivas
 
Posts: n/a

Default Re: Case sensitivity in SQL -- ignore - 03-14-2007 , 11:42 PM






On Mar 14, 11:59 pm, sweetpota... (AT) yahoo (DOT) com wrote:
Quote:
Hi,

I believe my SQL server was configured as Case sensitivity. I have a
number of stored procedures which were moved from a non-Case
sensitivity SQL server. Because of the Case sensitivity, I have to do
a lot of editing in those stored procedures. Is there a quick way to
avoid the editing?

Something like ignoring the case in one statement?

Thanks in advance, your advice will be greatly appreciated.
I think by changing the collation of your database to case
insenstitvity may help
but this may cause problems when you create #temp tables as tempdb
will have server collation

If your column and table names are in lower case , you can modify the
SP by selecting the SP and changing to lowercase (SHIFT+CTRL+L) . But
if you have string constants which need to be in uppercase , you need
to change it accordingly

M A Srinivas



Reply With Quote
  #3  
Old   
--CELKO--
 
Posts: n/a

Default Re: Case sensitivity in SQL -- ignore - 03-16-2007 , 08:45 AM



Quote:
I believe my SQL server was configured as Case sensitivity.
As it should be; that is how Standard SQL is defined

Quote:
Because of the Case sensitivity, I have to do a lot of editing in those stored procedures.
Life is tough when someone screws up. You need to just do it right
and stop looking for kludges. Oh, and if yuou can kill them guy that
did this, you will probably improve the quality of your company's
software in other places as well.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.