You are viewing the archived documentation of TiDB, which no longer receives updates.

View latest LTS version docs

Type Conversion in Expression Evaluation

TiDB behaves the same as MySQL: https://dev.mysql.com/doc/refman/8.0/en/type-conversion.html