Tag

Convert Function

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 7, 2023 · Databases

Resolving Illegal Mix of Collations Errors in MySQL 8.0 Views

This article analyzes why MySQL 8.0 reports an illegal mix of collations when querying a view that joins tables with different character sets, demonstrates reproducing the issue, explains the role of the CONVERT function and default collation variables, and provides practical recommendations to avoid such errors.

CollationConvert FunctionDatabase Administration
0 likes · 9 min read
Resolving Illegal Mix of Collations Errors in MySQL 8.0 Views
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 24, 2020 · Databases

Using Character Set Introducer, Conversion Functions, and Collation in MySQL

This article explains how to explicitly specify character sets and collations in MySQL using the character introducer, CONVERT and CHARSET functions, SET NAMES/SET CHARACTER SET statements, and the COLLATE clause, with practical examples and guidance on coercibility.

CollationConvert FunctionIntroducer
0 likes · 9 min read
Using Character Set Introducer, Conversion Functions, and Collation in MySQL