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

Examples

Example 1: Extract the field

Example 2: The field is NULL

keyword

FL_GET_URI, FILE