Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Database Options » Introduction to database options » Alphabetical list of options

rollback_on_deadlock [database] Next Page

row_counts option [database]

Specifies whether the database will always count the number of rows in a query when it is opened.

Allowed values

On, Off




Can be set for an individual connection or for the PUBLIC group. Takes effect immediately.


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.


When row_counts is set to On, it may take significantly longer to execute queries. In fact, it will usually cause SQL Anywhere to execute the query twice, doubling the execution time.