Name

cfg_section_count — get number of sections in an INI file

Synopsis

cfg_section_count ( in path varchar );

Description

Returns the number of sections in an INI file.

Parameters

path

Name of the INI file.

Return Values

An integer containing the number of sections in the INI file.

Examples

Example24.34.Simple examples

Find out how many sections are in the current virtuoso.ini file.

SQL> select cfg_section_count(virtuoso_ini_path());
callret
INTEGER
____________________________________________________

7