Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Oracle - Sensitive Bugger

date posted 7th August 2003 15:32

That won't work. In fact it will generate an error. Putting double
quotes around strings is a MySQL aberation.

IIRC you can setup oracle database to be case insensitive at _install_
time. Ask your DBA. :)

Otherwise just use this common workaround:
lower(lastname) like lower('stOKeS%');

And yes you can convert it to:
lower(lastname) like 'stokes%';

If and only if you trust yourself and the follow on maintainers :)

Cheers,

Dave.

On Thu, 2003-08-07 at 15:33, Craig Tinson wrote:
> Rob..
>
> You *could* (and this is a guess) replace the ' with " 's.. (single
> quote with double)
>
> This is a guess and might not make any difference whatsoever..but worth
> a try..
>
> HTH
>
> Craig
>
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
> [EMAIL REMOVED]
> Sent: Thursday, August 07, 2003 3:27 PM
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: Oracle - Sensitive Bugger
>
>
>
> Craig,
>
> Isn't that article all related to Microsoft SQL Server? I'm working with
> an Oracle database (which I'm new to!) and I remember reading somewhere
> it's case-sensitive by default... hrm...
>
> -----Original Message-----
> From: Craig Tinson [EMAIL REMOVED]
> Sent: 07 August 2003 3:20 pm
> To: Stokes,RD,Rob,XGF3A STOKESRD C
> Subject: RE: FN-FORUM: Oracle - Sensitive Bugger
>
>
>
> SQL is.. By default case-insensitive..
>
> Have a look at
> http://vyaskn.tripod.com/case_sensitive_search_in_sql_server.htm
>
> For a few tips/hints/tricks that might be of use to you..
>
> Cheers..
>
> Craig
>
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
> [EMAIL REMOVED]
> Sent: Thursday, August 07, 2003 3:12 PM
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: FN-FORUM: Oracle - Sensitive Bugger
>
>
>
> Afternoon all,
>
> Oracle it seems is a bit fussy when it comes to character case: does
> anyone know how to 'turn-off' its case-sensitive tendancies, i.e.:
>
> SELECT firstname, lastname from EmployeeTab WHERE lastname like
> 'stOKeS%';
>
> Would return:
>
> Robert Stokes
>
> Thanks
>
> ==========
> fido.net are pleased to sponsor these Freelancers messages. For all
> your web hosting needs check out http://www.fido.net/ with hosting
> packages starting from just 46.95 a year including VAT. Free 0871
> Fax2Email numbers also available online! http://www.fido.net/ - the
> internet made simple! - 0800 1072 666
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>
> ===fido.net are pleased to sponsor these Freelancers messages. For all
> your web hosting needs check out http://www.fido.net/ with hosting
> packages starting from just 46.95 a year including VAT. Free 0871
> Fax2Email numbers also available online! http://www.fido.net/ - the
> internet made simple! - 0800 1072 666
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> Unsub: http://www.freelancers.net/rm.php?g[E8028CDFFE02B4E560
>
> To Post a New Message: [EMAIL REMOVED]
> Forum Homepage: http://www.freelancers.net/forum.php
>
> http://www.freelancers.net - freelancers and freelance jobs
>
>
> fido.net are pleased to sponsor these Freelancers messages. For all
> your web hosting needs check out http://www.fido.net/ with hosting
> packages starting from just 46.95 a year including VAT. Free 0871
> Fax2Email numbers also available online! http://www.fido.net/ - the
> internet made simple! - 0800 1072 666
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> Unsub: http://www.freelancers.net/rm.php?gpE451D1AD0A04611DD3
>
> To Post a New Message: [EMAIL REMOVED]
> Forum Homepage: http://www.freelancers.net/forum.php
>
> http://www.freelancers.net - freelancers and freelance jobs
>
>
>
>
> =========fido.net are pleased to sponsor these Freelancers messages. For all
> your web hosting needs check out http://www.fido.net/ with hosting
> packages starting from just 46.95 a year including VAT.
> Free 0871 Fax2Email numbers also available online!
> http://www.fido.net/ - the internet made simple! - 0800 1072 666
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> Unsub: http://www.freelancers.net/rm.php?gb8CDE2FB52A0A16AD4C
>
> To Post a New Message: [EMAIL REMOVED]
> Forum Homepage: http://www.freelancers.net/forum.php
>
> http://www.freelancers.net - freelancers and freelance jobs
>



Messages by Day
August 31st 2003
August 30th 2003
August 29th 2003
August 28th 2003
August 27th 2003
August 26th 2003
August 25th 2003
August 24th 2003
August 23rd 2003
August 22nd 2003
August 21st 2003
August 20th 2003
August 19th 2003
August 18th 2003
August 17th 2003
August 16th 2003
August 15th 2003
August 14th 2003
August 13th 2003
August 12th 2003
August 11th 2003
August 10th 2003
August 9th 2003
August 8th 2003
August 7th 2003
August 6th 2003
August 5th 2003
August 4th 2003
August 3rd 2003
August 2nd 2003
August 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000