On 10/02/2013 21:09, Graham Brown wrote: looks like you need to do a major redesign of your data structure!
AndyD
Hi all I'm trying to work out whether it is possible to optimise a query on approx. 70,000 records. The problem is that the customer wants to do an "All fields" search so I have something like: - nH=sqlstringconnect(gcConnString) cSQL="select f_rn from tablename where field1 like '%ABC%' or field2 like '%ABC%' or field3 like '%ABC%' ...." sqlexec(nH,cSQL,"curs") ... Does anyone know of any possible solutions to this one please? .... Regards Graham
[excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

