Using Code to Read Setting Values for Microsoft SQL Server

Previous TopicNext TopicContents

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

To retrieve the value of the KeepInterval setting in SQL:

  1. Use the following code:

    declare @vset varchar(255)

    exec settings_read_string @vset OUTPUT,'database.cleanup.Usession','ExpiredSessionTimeout'

    print @vset

  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 Oracle



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

Last Published Friday, March 28, 2014

PDF Library