> If that, or something similar, doesn't work, you'll have to 
> turn to people who actually know what they're talking about 
> -- like CF-TALK.
> :-)

Problem is the really needs a MySQL group rather than a CF one, and I am not
a member of any of those :-(

I think the real problem is that when I execute...

SELECT od.PostCode, fs.*
FROM table1 od
     JOIN table2 fs
       ON (fs.PostCodeArea = od.PostCode REGEXP '^[a-z|A-Z]{1,4}')

The first thing that happens is that

od.PostCode REGEXP '^[a-z|A-Z]{1,4}'

Evaluates to '1' as all postcodes match the patern so then the join becomes

ON (fs.PostCodeArea = 1)

Which returns no rows.

But I am only guessing...

--
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:210367
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

Reply via email to