# TO_VERSION

The TO_VERSION function converts an input string to a version value.

## Syntax

`TO_VERSION(field)`

### Parameters

#### field

The input value to convert. This can be a single- or multi-valued column, or an expression.

## Examples

Converts the string "1.2.3" into a version value and assigns it to the column `v`.
```esql
ROW v = TO_VERSION("1.2.3")
```