Contents Index CONTINUE_AFTER_RAISERROR option [compatibility] COOPERATIVE_COMMIT_TIMEOUT option [database]

ASA Database Administration Guide
  Database Options
    Alphabetical list of options

CONVERSION_ERROR option [compatibility]


Function 

Controls the reporting of data type conversion failures on fetching information from the database.

Allowed values 

ON, OFF

Default 

ON

Description 

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.


Contents Index CONTINUE_AFTER_RAISERROR option [compatibility] COOPERATIVE_COMMIT_TIMEOUT option [database]