Unix Technical Forum

Case sensitivity in SQL -- ignore

This is a discussion on Case sensitivity in SQL -- ignore within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, I believe my SQL server was configured as Case sensitivity. I have a number of stored procedures which ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 02:42 PM
sweetpotatop@yahoo.com
 
Posts: n/a
Default Case sensitivity in SQL -- ignore

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 02:42 PM
M A Srinivas
 
Posts: n/a
Default Re: Case sensitivity in SQL -- ignore

On Mar 14, 11:59 pm, sweetpota...@yahoo.com wrote:
> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 02:42 PM
--CELKO--
 
Posts: n/a
Default Re: Case sensitivity in SQL -- ignore

>> I believe my SQL server was configured as Case sensitivity. <<

As it should be; that is how Standard SQL is defined

>> 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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com