HAMAXNUMSQLQUERY

Sets the maximum number of SQL queries that can be issued against the fact table(s) in the relational database per Essbase query session.

Syntax

HAMAXNUMSQLQUERY [appname [dbname]] n

Description

This setting determines the maximum number of SQL queries that can be executed during an Essbase query session from Report Writer or from the Spreadsheet Add-in extractor. If a query cannot be split into pieces in such a way as to not violate the limits set by this command, the query execution fails. The user has to submit a smaller version of the query, or the administrator must raise the value of this setting. HAMAXNUMSQLQUERY does not refer to the number of users performing queries; rather, it refers to the number of SQL queries in a complex statement.

Example

In the following example, the maximum number of SQL queries per Essbase query session is set to 10.

HAMAXNUMSQLQUERY 10

See Also

HAMAXQUERYROWS

HARETRIEVENUMROW

QRYGOVEXECBLK

QRYGOVEXECTIME