ASA Database Administration Guide
Database Options
Alphabetical list of options
Specifies whether the database will always count the number of rows in a query when it is opened.
ON, OFF
Can be set for an individual connection or for the PUBLIC group. Takes effect immediately.
OFF
If this option is set to OFF, the row count is usually only an estimate. If this option is set to ON, the row count is always accurate.
Warning: When ROW_COUNTS is set to ON, it may take significantly longer to execute queries. In fact, it will usually cause Adaptive Server Anywhere to execute the query twice, doubling the execution time. |