Running a query across collations

This is a discussion on Running a query across collations within the MySQL Database forums, part of the Database Forums category; Hi there, I'm using MySQL 5.0. When I'm trying to run a join query across tables, I'...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-09-2007
laredotornado@zipmail.com
 
Posts: n/a
Default Running a query across collations

Hi there,

I'm using MySQL 5.0. When I'm trying to run a join query across
tables, I'm getting an error ...

mysql> SELECT DV.VENDOR_ID, UA.USER_ID FROM DEFAULT_VENDOR DV, VENDORS
V, (SELECT * FROM remanr_SA_REFILL5.USER_ACCOUNTS) UA WHERE
DV.VENDOR_ID = V.VENDOR_ID AND V.EMAIL = UA.EMAIL;
ERROR 1267 (HY000): Illegal mix of collations
(latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for
operation '='

Do I have to change the collation on my tables or is there a way I can
get and compare the data out of the one column without having to alter
collations?

Thanks, - Dave

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0