My Oracle Support Banner

What Happens When Data Types are Mixed in WHERE Clause Comparisons in MySQL? (Doc ID 1513978.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Server - Version 4.0 and later
Information in this document applies to any platform.


Learn about the way MySQL handles comparisons between different data types in the WHERE clause of a query.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Type Conversion Causes Table Scan
 Unexpected Comparison Result

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.