[discete]
[[esql-cast-operator]]
==== `Cast (::)`

// tag::body[]
The `::` operator provides a convenient alternative syntax to the TO_<type>
<<esql-type-conversion-functions,conversion functions>>.

[source.merge.styled,esql]
----
include::{esql-specs}/convert.csv-spec[tag=docsCastOperator]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/convert.csv-spec[tag=docsCastOperator-result]
|===
// end::body[]
