📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

TO_INT32



Converts a value to INT32 data type.

Syntax

TO_INT32( <expr> )

Examples

SELECT TO_INT32('123'); ┌─────────────────┐ │ to_int32('123') │ ├─────────────────┤ │ 123 │ └─────────────────┘

Was this page helpful?