View Single Post

   
  #8 (permalink)  
Old 02-28-2008, 09:30 AM
Bill Karwin
 
Posts: n/a
Default Re: Getting back set order from the IN param

Yobbo wrote:
> Do you know if your method is more efficient than Dimitre's
> FIELD(TOKENID,6,20,234,19,32,4,800,177) method??



I don't know for sure. It may depend partly on your indexes, data
distribution, etc. One way to know for sure is for you to try both
methods under some benchmarking tool (e.g.
http://xaprb.com/mysql-query-profiler/).

Regards,
Bill K.
Reply With Quote