QUERY_ROWS_RETURNED_LIMIT option

Function

Sets the row threshold for rejecting queries based on estimated size of result set.

Allowed values

Any integer

Scope

DBA permissions are not required to set this option. Can be set temporary, for an individual connection, or for the PUBLIC group. Takes effect immediately.

Default

0

Description

If Sybase IQ receives a query that has an estimated number of result rows greater than the value of this option, it rejects the query with the following message:

Query rejected because it exceeds resource: Query_Rows_Returned_Limit

If you set this option to zero (the default), there is no limit and no queries will ever be rejected based on number of rows in their output.