> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: ToHexString

> Convert an integer argument to its hexadecimal string representation in base 16. Use TOHEXSTRING for encoding and data formatting in ETL pipelines.

## Description

Returns a string representation of the integer argument in base 16.

## Syntax

`ToHexString(int_expression)`

int\_expression - integer (or long) argument

## Examples

`ToHexString(123123)` returns 1e0f3.

## Return value datatype

string

## Impact of null value

If argument is null, null is returned.
