HDFql Reference Manual v2.6.0

6.7.41SHOW EXTERNAL LINK PREFIX

Syntax

SHOW EXTERNAL LINK PREFIX

[post_processing_option]

[output_redirecting_option]

Description

Show (i.e. get) the prefix to prepend to file names stored in HDF5 external links.

Parameter(s)

post_processing_option – optional option that transforms the result set according to the programmer’s needs, such as ordering or truncating (please refer to the section PROCESSING for additional information).

output_redirecting_option – optional option that specifies the cursor in use, an HDF5 object (i.e. dataset or attribute), a (text, binary, or Excel) file, or memory (i.e. user-defined variable) to write the result set into (please refer to the subsection INTO for additional information). If not specified, the cursor in use is populated with the result set instead (please refer to the chapter CURSOR for additional information).

Return

The prefix to prepend to file names stored in HDF5 external links as an HDFQL_VARCHAR or nothing (in case no prefix is specified).

Example(s)

# set external link prefix to "/target" 
SET EXTERNAL LINK PREFIX /target

# show (i.e. get) external link prefix (should return "/target") 
SHOW EXTERNAL LINK PREFIX 

# set external link prefix to the default value (i.e. empty) 
SET EXTERNAL LINK PREFIX DEFAULT

# show (i.e. get) external link prefix (should return nothing) 
SHOW EXTERNAL LINK PREFIX