Skip to main content
Experimental feature Advice on use of experimental features Extracts the inline field of a FILE value.

Syntax

Parameters

file_expr: a FILE expression, such as the result of to_file or try_to_file.

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

Example 2: The field is NULL

keyword

FL_GET_INLINE, FILE