Top

Name

registry_get — Returns a current value of a registry setting

Synopsis

varchar registry_get ( in name varchar );
 

Description

registry_get is used to retrieve values stored within database registry.

Parameters

name

Name of the registry setting

Return Values

A string value associated to the registry by registry_set. If the variable does not exist, a 0 (zero) is returned.

Examples

Example 24.313. Setting and Retrieving Registry Settings

SQL> select registry_get('var_demo');
callret
VARCHAR
__________________________________________________________________

NULL

SQL> registry_set('var_demo', 'some arb data');

SQL> select registry_get('var_demo');
callret
VARCHAR
__________________________________________________________________

some arb data