Re: Partially UTF 8 Database
Posted by: Alexander Barkov
Date: April 25, 2006 03:07AM

There should not be any problems to mix utf8 and latin1 tables in the same
database, even if you have joins between tables with utf8 and latin1.
utf8 has priority over latin1, so any mixture should be succesfully resolve, e.g.:

- CONCAT(utf8_column, latin1_column) will return utf8 value,
- WHERE utf8_column=latin1_column wull use collation of utf8_column for comparison.


However, I suggest to create a test database and check everything anyway.

"ALTER DATABASE dbname DEFAULT CHARACTER SET utf8" does not affect existing
tables. It just sets the default character set for all tables created *afterwards*.

Options: ReplyQuote


Subject
Views
Written By
Posted
3071
April 20, 2006 09:24AM
Re: Partially UTF 8 Database
1782
April 25, 2006 03:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.