How to change collation in entire db?
Posted by: ponsfrilus
Date: September 28, 2006 08:50AM

Hi all,
I get this error: "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) ... " and I'm looking for a way to change rapidly DATABASE, TABLES AND FIELDS COLLATION with a SQL query.

I know this query can do it for a table, but it dosen't change fields in this table and I don't know how to change it to all table in a database:
ALTER TABLE `my_table` DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci

Is something like "ALTER TABLE * DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci " exists?

THanks a lot

Options: ReplyQuote


Subject
Views
Written By
Posted
How to change collation in entire db?
10638
September 28, 2006 08:50AM


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.