Couldn't you create a new index with the upper function? Wouldn't that solve the index 'blow out' issue?
Dave -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 3:13 PM To: CF-Talk Subject: Re: Making CFQUERY Where Clause case insensitive > Can someone tell me how to make this: > > WHERE PositionName LIKE '%#TextToSearch#%' > > Case insensitive, so it matches both upper and lower case instances? > > CF7, Win2K3 > > TIA, > Tim WHERE UCase(PositionName) LIKE '%#UCase(TextToSearch)#%' Points to note: -not all DBs are case sensitive in the first place (Oracle is) -By using the UCase() funtion, you will most likely blow out any indexes on "PositionName" (slower query) HTH Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212872 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

