> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/table/recordid.md).

# RECORDID

RECORDID(`Starting Value`)

Generates a unique id, incrementing sequentially, for each row in a given table.

### Arguments

| Argument         | Description                                                                    |
| ---------------- | ------------------------------------------------------------------------------ |
| `Starting Value` | The value to hold as the first id, with each after it increasing sequentially. |
| `Data Type`      | Data type to return: string or number.                                         |
| `Leading String` | Optional. Enables a specified string to lead all record ids.                   |
| `Size`           | Optional. Determines length of ID to return; must be a number.                 |

### Output

A column of unique ids.

### Example 1

{% embed url="<https://datawrapper.dwcdn.net/DW5ea/2>" %}

### Example 2

{% embed url="<https://datawrapper.dwcdn.net/2f5dO/1>" %}
