Name

cfg_item_value — returns the value of an item from the ini file

Synopsis

cfg_item_value ( in path varchar ,
in section varchar ,
in item_name varchar );

Description

Return the value of an item identified by item_name and section parameters from the specified INI file.

Parameters

path

Name of the INI file.

section

Name of the section in the INI file.

item_name

Name of the item in the section.

Return Values

A varchar containing the item value. Return zero if section or item_name is invalid.

Examples

Example24.33.Simple examples

Read the value of the ServerPort item from the [Parameters] section of the current virtuoso.ini file.

SQL> select cfg_item_value(virtuoso_ini_path(), 'Parameters','ServerPort');
callret
VARCHAR
__________________________________________________________________________

1112