SELECT *
FROM Table1 INNER JOIN TABLE2 ON Table1.FIELD1 COLLATE TURKISH_CI_AL = Table2.FIELD1 COLLATE TURKISH_CI_AL
WHERE TABLE1.Field2 COLLATE TURKISH_CI_AS = TABLE2.Field2 COLLATE TURKISH_CI_AS
As shown above the only thing you need is to put the collate COLLATION_NAME after the fields you want to compare.
Main Topics
Browse All Topics





by: angelIIIPosted on 2009-11-04 at 01:04:43ID: 25737538
WHERE VT.col1=TP.col2
efman/5.0/ en/charset -collate.h tml
are likely of 2 different collations.
you can use the COLLATE syntax there:
http://dev.mysql.com/doc/r