Name

getenv — return the value of a process environment variable

Synopsis

varchar getenv( in name varchar);
 

Description

getenv returns the value of the process environment variable name, or SQL NULL if the variable is not set. Requires DBA privileges.

Parameters

name

The environment variable name.

Return Types

A varchar value, or NULL if name is unset.

Examples

Example 24.121. Read PATH

SQL> select getenv ('PATH');
      


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®