Name

server_root — Returns server working directory.

Synopsis

server_root ( );
 

Description

This function returns the complete physical path to server working directory.

Examples

Example 24.445. Simple examples

Show in the result the server working directory and INI file name:

SQL> select server_root(), virtuoso_ini_path ();
callret                                   callret
VARCHAR                                   VARCHAR
_______________________________________

C:\Program Files\OpenLink\Virtuoso 5.0\   C:\Program Files\OpenLink\Virtuoso 5.0\demo\demo.ini

1 Rows. -- 20 msec.