Default Option Management
You are looking at an older version of the documentation. The latest version is found here.
Options can be handy for controlling the Data Virtuality Server behaviour, and the Data Virtuality Server has several stored procedures for handling default option values. On this page, we give information on these procedures; for detailed information on each option, please refer to this section.
SYSADMIN.setDefaultOptionValue
This procedure writes a default option:
SYSADMIN.setDefaultOptionValue( <optionname>, <optionvalue> )
Example
CALL SYSADMIN.setDefaultOptionValue( 'ALLOW_CARTESIAN', 'ALWAYS' )
SYSADMIN.getDefaultOptionValue
This option gets the value for the specified option:
SYSADMIN.getDefaultOptionValue( <optionname> )
Example
CALL SYSADMIN.getDefaultOptionValue( 'ALLOW_CARTESIAN' )
setDefaultOptionValue()
and getDefaultOptionValue()
, <optionname> should be passed without the dollar sign ($
).
Setting a Default Option to its Default Value
A default option can be reset to its default value by providing an empty string as a value:
SYSADMIN.setDefaultOptionValue( <optionname>, '' )
Example
CALL SYSADMIN.setDefaultOptionValue( 'ALLOW_CARTESIAN', '' )