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

> Reference material for MD5_NUMBER_UPPER64 function

# MD5_NUMBER_UPPER64

Represent the upper 64 bits of the MD5 hash value of the input string as `BIGINT`.

## Syntax

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
MD5_NUMBER_UPPER64(<expression>)
```

## Parameters

| Parameter      | Description                                                             | Supported input type |
| :------------- | :---------------------------------------------------------------------- | :------------------- |
| `<expression>` | The string to calculate the MD5 hash value on and represent as `BIGINT` | `TEXT`               |

## Return Type

`BIGINT`

## Example

The following example represents the username `esimpson` as a `BIGINT`:

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
SELECT
	MD5_NUMBER_UPPER64('esimpson') AS username;
```

**Returns**: `-4,517,210,933,321,929,797`
