# 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cascade.io/cascade/functions-and-expressions/functions/table/recordid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
