Collection Contents Index on_charset_conversion_failure option [database] Next PDF

SQL Anywhere® Server - Database Administration  > Database Options  > Introduction to database options  > Alphabetical list of options

on_tsql_error option [compatibility]


Controls error-handling in stored procedures.

Allowed values

String (see below for allowed values)

Default

Conditional

Continue for jConnect connections

Remarks

This option controls error handling in stored procedures.

Both the Conditional and Continue settings for on_tsql_error are used for Adaptive Server Enterprise compatibility, with Continue most closely simulating Adaptive Server Enterprise behavior. The Conditional setting is recommended, particularly when developing new Transact-SQL stored procedures, as it allows errors to be reported earlier.

When this option is set to Stop or Continue, it supercedes the setting of the continue_after_raiserror option. However, when this option is set to Conditional (the default), behavior following a RAISERROR statement is determined by the setting of the continue_after_raiserror option.

See also

Collection Contents Index on_charset_conversion_failure option [database] Next PDF