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

# fl_get_inline

> Extracts the inline field of a FILE value.

**Experimental feature**

[Advice on use of experimental features](/documents/4.2/maturity/features.md)

Extracts the `inline` field of a [FILE](/documents/4.2/sql-reference/data-types/other-data-types/FILE.md) value.

## Syntax

```sql theme={null}
VARBINARY fl_get_inline(FILE file_expr)
```

## Parameters

`file_expr`: a FILE expression, such as the result of [to\_file](/documents/4.2/sql-reference/sql-functions/file-functions/to_file.md) or [try\_to\_file](/documents/4.2/sql-reference/sql-functions/file-functions/try_to_file.md).

## Return value

Returns a VARBINARY value. Returns NULL if the FILE value or the `inline` field is NULL. The field is returned unchanged, with no defaults. Empty bytes and embedded zero bytes are preserved; binary content is neither encoded nor decoded.

## Examples

### Example 1: Extract the field

```sql theme={null}
SELECT hex(fl_get_inline(to_file(named_struct('inline', to_binary('610062', 'hex'))))) AS inline_hex;
```

```plaintext theme={null}
+------------+
| inline_hex |
+------------+
| 610062     |
+------------+
```

### Example 2: The field is NULL

```sql theme={null}
SELECT hex(fl_get_inline(to_file(named_struct('uri', 'a.jpg')))) AS inline_hex;
```

```plaintext theme={null}
+------------+
| inline_hex |
+------------+
| NULL       |
+------------+
```

## keyword

FL\_GET\_INLINE, FILE


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.