Using Code to Write Setting Values with Oracle

The following code snippets demonstrate how the SETTINGS_WRITE_STRING procedure sets the value of the ExpiredSessionTimeout setting to 12 hours with Oracle.

To set the value of the ExpiredSessionTimeout setting to 12 hours:

  1. Log in to SQL*Plus using privuser as your username.
  2. Run the following statement:

    SQL > exec SETTINGS_WRITE_STRING ('12h','database.cleanup.Usession','ExpiredSessionTimeout');

Related Topics

Writing Setting Values

Using Code to Write Setting Values with Microsoft SQL Server



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

Last Published Friday, September 30, 2016