Skip to main content
Experimental feature Advice on use of experimental features Extracts the size 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 size 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_SIZE, FILE