jcs_registry.get_value

on-site-related topic PL/SQL API jcs_registry.get_value

Summary

Get a value.

Note: You must have access to the key. If you query for a descendant of ROOT_CURRENT_USER and there is a equivalent entry down ROOT_ALL_USERS then that value will be used if there is no ROOT_CURRENT_USER value or if the ROOT_ALL_USERS value has the override flag set.

Specification

Copy
function get_value(key_id in number)
    return varchar2

Parameters

  • key_id - the key ID for the number overlay
  • returns varchar2 -

Specification

Copy
function get_value(pathname in varchar2)
    return varchar2

Parameters

  • pathname - the key ID (path) for the varchar2 overlay
  • returns varchar2 -

Examples

Copy
An example of how to get a value
         var value varchar2
         begin
         :value := jcs_registry.get_value('/USER/jcsusr/TESTK1');
         end;
         /
         select :value from dual;

An example of how to get a value