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

TO_INT64



Converts a value to INT64 data type.

Syntax

TO_INT64( <expr> )

Examples

SELECT TO_INT64('123'); ┌─────────────────┐ │ to_int64('123') │ ├─────────────────┤ │ 123 │ └─────────────────┘

Was this page helpful?