www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
db.dba.vacuum
user_change_password
user_create
user_drop
user_get_option
user_grant_role
user_revoke_role
user_role_create
user_role_drop
user_set_option
user_set_qualifier
cfg_item_count
cfg_item_name
cfg_item_value
cfg_section_count
cfg_section_name
cfg_write
checkpoint_interval
disconnect_user
fk_check_input_value...
key_estimate
log_enable
log_text
prof_enable
prof_sample
server_root
status
sys_lockdown
sys_stat
system
trace_status
user_set_password
virtuoso_ini_path
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

cfg_item_value

returns the value of an item from the ini file
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
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
See Also

virtuoso_ini_path cfg_section_count cfg_section_name cfg_item_count cfg_item_name cfg_write