If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Search case-insensitive

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-10, 11:53
dcharline9 dcharline9 is offline
Registered User
 
Join Date: Dec 2010
Posts: 1
Search case-insensitive

Hi,

I use Informix in my application. I need to make search case-insensitive (if I look for A I have to find a,Á,Ä,...)
I have two solution:
  1. I could do a procedure what replace À to A, a to A,... and also create indexes.
  2. I could have an additional column in the tables with all letters in uppercase and use that columns in the queries

what solution do you think that is the correct?, could the solution 1 have impact in the performance?

Thank in advance
Reply With Quote
  #2 (permalink)  
Old 01-02-11, 08:47
julianne1144 julianne1144 is offline
Registered User
 
Join Date: Jan 2011
Posts: 1
Hello,

I think the first procedure is much better than the second one, it's only a matter of replacing the one that is incorrect with the correct one. However it depends whether the first one or the second one will work ? to make sure just try them both, in my opinion.
__________________________________________________ _______________
cannabis seeds
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On