---
title: "row function in Strata | Oplema"
description: "Create an unnamed struct, or tuple, from the values you pass in. For example, row(10, 2, 2.5) returns (10, 2, 2.5). Works in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/row"
updated: "2026-11-04"
---

# row

Create an unnamed struct from its arguments.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **VARCHAR**.

### Expression

```
row(10, 2, 2.5)
```

### Result

```
'(10, 2, 2.5)'
```

The expression returns `STRUCT(INTEGER, INTEGER, DECIMAL(2,1))`. Formula stores it as `VARCHAR` in this example. To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | (10, 2, 2.5) |

## Arguments and types

```
row(...)
```

Supported signatures (1)

```
row(...: ANY) → STRUCT
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

### With a missing first argument

```
row(NULL::INTEGER, 2, 2.5)
```

'(NULL, 2, 2.5)'

## Related functions

[struct\_pack

Create a struct from named arguments. Each field takes its name from its argument, as in struct\_pack(a := 1).

](https://oplema.com/docs/strata/functions/struct-pack)[struct\_insert

Add fields to an existing struct. Each new field takes its name from a named argument, as in struct\_insert(s, b := 2).

](https://oplema.com/docs/strata/functions/struct-insert)[struct\_update

Change or add fields in an existing struct. Each field takes its name from a named argument, as in struct\_update(s, b := 2).

](https://oplema.com/docs/strata/functions/struct-update)[struct\_contains

Check whether an unnamed struct contains a value.

](https://oplema.com/docs/strata/functions/struct-contains)

[Browse structs](https://oplema.com/docs/strata/functions#structs) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/struct.html#rowany)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
