You are viewing the archived documentation of TiDB, which no longer receives updates. View the latest LTS version docs

Type Conversion in Expression Evaluation

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