ASA Database Administration Guide
Database Options
Alphabetical list of options
Controls the reporting of division by zero.
ON, OFF
ON
This option indicates whether division by zero is reported as an error. If the option is set ON, then division by zero results in an error with SQLSTATE 22012.
If the option is set OFF, division by zero is not an error. Instead, a NULL is returned.