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

View latest LTS version docs

Type Conversion in Expression Evaluation

z
y
T
s

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