Re: my brain hurts
Posted by:
Jay Pipes
Date: August 11, 2005 07:55PM
SELECT dc.code
FROM dialcode dc
WHERE INSTR('0118234567890', dc.code) > 0
ORDER BY LENGTH(dc.code) DESC
LIMIT 1;
Jay Pipes
Community Relations Manager, North America, MySQL Inc.
Got Cluster?
http://www.mysql.com/cluster
Personal:
http://jpipes.com
Subject
Written By
Posted
Re: my brain hurts
August 11, 2005 07:55PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.