Skip to content

Commit

Permalink
Update mysql-cambiar-collate.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
mgomezbuceta authored Aug 3, 2022
1 parent 7f9745f commit 27005b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-cambiar-collate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ SELECT CONCAT(
'ALTER TABLE ', table_name, ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_spanish2_ci; ')
FROM information_schema.TABLES AS T, information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` AS C
WHERE C.collation_name = T.table_collation
AND T.table_schema = 'bng_demo';
AND T.table_schema = 'bbdd';

0 comments on commit 27005b6

Please sign in to comment.