List:General Discussion« Previous MessageNext Message »
From:Daniel Brown Date:February 2 2009 7:07pm
Subject:Re: grabbing even addresses?
View as plain text  
On Mon, Feb 2, 2009 at 13:43, Martin Gainty <mgainty@stripped> wrote:
> NUMBER(SUBSTR(ADDRESS,1,instr(ADDRESS,' ',1))),2) =0;

    That hit the nail right on the head.  That was the same thing I
was going to suggest, Martin.  I think people tend to forget that
MySQL has the ability to handle a lot of stuff inside its own engine.
The only problem is the potential performance degradation --- if it's
an issue, translating that to PHP (which is the language in which
Jason is doing his code) isn't a problem.

    In any case, your answer is the one I would consider correct for
the OP's question.

</Daniel P. Brown>
daniel.brown@stripped || danbrown@stripped ||
Unadvertised dedicated server deals, too low to print - email me to find out!
grabbing even addresses?Jason Pruim2 Feb
  • Re: grabbing even addresses?ewen fortune2 Feb
  • Re: grabbing even addresses?Christoph Boget2 Feb
    • Re: grabbing even addresses?Jason Pruim2 Feb
  • RE: grabbing even addresses?Tom [Ontario] Kralidis2 Feb
  • RE: grabbing even addresses?Martin Gainty2 Feb
    • Re: grabbing even addresses?Daniel Brown2 Feb
  • RE: grabbing even addresses?Jerry Schwartz2 Feb