Alphabetical list of options
CONVERSION_ERROR option
Function
Allowed values
Default
Description
COOPERATIVE_COMMITS option
Function
Allowed values
Scope
Default
Description
180
Intermediate RAISERROR statuses and codes are lost after the procedure
terminates. If, at return time, an error occurs along with the RAISERROR,
then the information for the new error is returned and the RAISERROR
information is lost. The application can query intermediate RAISERROR
statuses by examining the @@error global variable at different execution
points.
Controls the reporting of data type conversion failures on fetching
information from the database.
ON, OFF
ON
This option controls whether data type conversion failures, when data is
fetched from the database or inserted into the database, are reported by the
database as errors (CONVERSION_ERROR set to ON) or as a warning
(CONVERSION_ERROR set to OFF).
When CONVERSION_ERROR is set to ON, the
SQLE_CONVERSION_ERROR error is generated. If the option is set to
OFF, the warning SQLE_CANNOT_CONVERT is produced.
If conversion errors are reported as warnings only, the NULL value is used
in place of the value that could not be converted. In Embedded SQL, an
indicator variable is set to -2 for the column or columns that cause the error.
Controls when commits are written to disk.
ON or OFF
Can be set for an individual connection or for the PUBLIC group. Takes
effect immediately.
ON
If COOPERATIVE_COMMITS is set to OFF, a COMMIT is written to disk
as soon as the database server receives it, and the application is then allowed
to continue.
Need help?
Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?
Questions and answers