# ARRAY_SIZE() Function

### Description

Returns the number of elements in an array

### Syntax

```sql
ARRAY_SIZE(array)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _array_ | Array input | Array | Yes |

#### Notes

-   The data type of the returned value is `INTEGER`

### Example

```sql
SELECT
    ARRAY_SIZE(col)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/array_size

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
