ORACLE OPTION

ORACLE OPTION — set oracle option

Synopsis

ORACLE OPTION (option_name=option_value)

Description

ORACLE OPTION sets an oracle option, three options are currently supported, RELEASE_CURSOR, ORACA and CHAR_MAP. The RELEASE_CURSOR and ORACA option is currently just a syntactic sugar. When CHAR_MAP is set to STRING, character arrays are guaranteed to be NULL-terminated, but only one-dimensional arrays are supported.

Table 34.6. Oracle Option Sets

option_nameoption_value
RELEASE_CURSORYES | NO
CHAR_MAPSTRING
ORACAYES | NO

Parameters

option_name

The name of option.

option_value

A value of option.

Examples

EXEC ORACLE OPTION (RELEASE_CURSOR=YES);
EXEC ORACLE OPTION (RELEASE_CURSOR=NO);
EXEC ORACLE OPTION (CHAR_MAP=STRING);
EXEC ORACLE OPTION (ORACA = YES);
EXEC ORACLE OPTION (ORACA = NO);