Skip to main content
Experimental feature Advice on use of experimental features Extracts the offset 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 BIGINT value. Returns NULL if the FILE value or the offset field is NULL. The field is returned unchanged, with no defaults.

Examples

Example 1: Extract the field

Example 2: The field is NULL

keyword

FL_GET_OFFSET, FILE