Using Code to Write Setting Values with Oracle or Oracle Autonomous Database

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

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

  1. Log in to SQL*Plus with your privuser credentials.
  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 | Your Privacy Rights
Copyright © 1999, 2023

Last Published Tuesday, October 31, 2023