Ted Roche wrote: > On Thu, Aug 26, 2010 at 5:17 PM, Ken Kixmoeller f/h > <[email protected]> wrote: >> Anyone know if this is possible? >> > > Of course it's possible. But it's a bad idea.
Well, _that_ is a given.<s> > Are you getting this > data into a VFP cursor? If so, STRTRAN it there. No, [NF]: MySQL & PHP > SELECT > REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(myField, > "1",""),"2",""),"3",""),"4",""),"5",""),"6",""),"7",""),"8",""),"9",""),"0","") > MyNewField from MyTable > ought to do it. That was my fall-back position, but since I heard somewhere that it is a bad idea, I'll do the PHP equivalent of STRTRAN. I was hoping to be able to pull this out in pure SQL rather than custom-do it. I thought someone might have had a MySQL function or trick that I hadn't found. This is just a little do moronic trap I built for myself. I hate it when I do that. Now I need to claw myself out of it. Ken _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://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.

