case sensitivity and searching

[prev] [thread] [next] [Date index for 2004/12/06]

From: Sandra Crowther
Subject: case sensitivity and searching
Date: 14:55 on 06 Dec 2004
This is a multi-part message in MIME format.

------_=_NextPart_001_01C4DBA3.9A0F4C24
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

I am new to CDBI and have a question about case sensitivity and
searching.

=20

If I use CDBIs search_like it is case sensitive.

=20

My idea was to use the set_sql method to write my own query uppercasing
the search term via perl and uppercasing the column data via sql (using
'upper' as I'm on oracle).

=20

Is there a better way than this? I'm concerned it might slow things down
when my database gets bigger.

=20

Thanks,

=20

Sandra


------_=_NextPart_001_01C4DBA3.9A0F4C24
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I am new to CDBI and have a question about case sensitivity and
searching.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>If I use CDBIs search_like it is case =
sensitive.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>My idea was to use the set_sql method to write my own query =
uppercasing
the search term via perl and uppercasing the column data via sql (using =
&#8216;upper&#8217;
as I&#8217;m on oracle).</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Is there a better way than this? I&#8217;m concerned it might =
slow
things down when my database gets bigger.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Sandra</span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C4DBA3.9A0F4C24--

case sensitivity and searching
Sandra Crowther 14:55 on 06 Dec 2004

Re: case sensitivity and searching
Tony Bowden 15:00 on 06 Dec 2004

Re: case sensitivity and searching
Josh Peterson 15:38 on 06 Dec 2004

Re: case sensitivity and searching
William McKee 21:59 on 08 Dec 2004

Generated at 00:07 on 10 Dec 2004 by mariachi v0.52