> > http://dev.mysql.com/doc/refman/5.0/en/regexp.html
>
> I had already looked here but all the examples I can find
> anywhere are using the regex in the select statement and I am
> not sure if there is a way to use them in the join?
More info for you, I have been trying variations on...
SELECT od.PostCode, fs.*
FROM table1 od
JOIN table2 fs
ON (fs.PostCodeArea = od.PostCode REGEXP '^[a-z|A-Z]{1,4}')
With no success.
--
Jay
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/376 - Release Date: 26/06/2006
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:210366
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54