selecting part of the data in a field

    Date: 07/12/09 (MySQL Communtiy)    Keywords: no keywords

    i have a field with a full street address, something like "1234 main st." is it possible to select just the numerical part of the data?

    i ask because i need to compare that to another field. so it'd be real easy to just do something like

    select * from `table` where (MAGIC, `address`) = `other_field`

    Source: http://mysql.livejournal.com/136343.html

« Efficient full-text searchs... || Find datetimes with time of... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home