From: Dick Middleton (no email)
Date: Mon Sep 03 2007 - 14:01:02 EDT
Dave McGuire wrote:
>> Luckily mysql seems to be able to do the job but I hate to think how
>> many cpu cycles it uses.
>>
>> query = SELECT helo FROM country WHERE '%s' RLIKE CONCAT('\\.', code,'$')
>>
>> :-)
>
> Ouch! I hope you have query caching enabled on your database server. ;)
It did work but I've reverted back to hash tables of course.
Dick
|
|
|