Notice
Recent Posts
Recent Comments
목록Illegal (1)
뽁
MySQL. 쿼리 수행 시 Illegal mix of collations 오류
SET @V_BASE_YMD = '20190701'; SET @V_START_YMD = '20190201'; SET @V_END_YMD = '20190229'; SELECT s.column1 ,s.column2 FROM table1 /*table1의 collation은 utf8mb4_0900_bin */ WHERE base_ymd = @V_BASE_YMD ; 실행 시 오류 발생 SQL오류 (1267): Illegal mix of collations (utf8mb4_0900_bin,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' 아래와 같이 WHERE 절에 collate 문 추가해서 해결했어요. SELECT s.column1 ,s.column2..
IT Cafe+/MySQL
2019. 12. 10. 17:23