Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.04 KB

cast-functions-and-operators.md

File metadata and controls

17 lines (13 loc) · 1.04 KB
title summary aliases
Cast Functions and Operators
Learn about the cast functions and operators.
/docs/dev/functions-and-operators/cast-functions-and-operators/
/docs/dev/reference/sql/functions-and-operators/cast-functions-and-operators/

Cast Functions and Operators

TiDB supports all of the cast functions and operators available in MySQL 5.7.

Name Description
BINARY Cast a string to a binary string
CAST() Cast a value as a certain type
CONVERT() Cast a value as a certain type

Cast functions and operators enable conversion of values from one data type to another.