Using Code to Read Setting Values for Oracle

Previous TopicNext TopicContents

The following code snippets for the Oracle database demonstrate how the SETTINGS_READ_* procedures read the setting values.

To retrieve the value of the KeepInterval setting in Oracle:

  1. Use the following code:

    SQL> variable vset varchar2(255)

    SQL> exec settings_read_string(:vset,'database.cleanup.Usession',
    'ExpiredSessionTimeout');

2. The following message should appear:

PL/SQL procedure successfully completed.

SQL> print vset

Related Topics

Reading Setting Values

Using Code to Read Setting Values for Microsoft SQL Server



Legal Notices
Copyright © 1999, 2014, Oracle and/or its affiliates. All rights reserved.

Last Published Friday, March 28, 2014

PDF Library