Name

cfg_section_name — returns INI file section name

Synopsis

cfg_section_name ( in path varchar ,
  in index integer );
 

Description

Returns the name of section specified by the index (begins from zero). If the index can reference a section, the that section name is returned, otherwise returns zero on error.

Parameters

path

Name of the INI file.

index

Zero based index that references a section.

Return Values

An varchar containing the name of section.

Examples

Example 24.35. Simple examples

Get the second section name from the current virtuoso.ini file.

SQL> select cfg_section_name(virtuoso_ini_path(), 1);
callret
VARCHAR
_____________________________________________________

Parameters