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

TO_UINT16



Converts a value to UINT16 data type.

Syntax

TO_UINT16( <expr> )

Examples

SELECT TO_UINT16('123'); ┌──────────────────┐ │ to_uint16('123') │ ├──────────────────┤ │ 123 │ └──────────────────┘

Was this page helpful?