QUERY_DETAIL Option

Specifies whether or not to include additional query information in the Query Detail section of the query plan.

Allowed Values

ON, OFF

Default

OFF

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.

Description

When QUERY_DETAIL and QUERY_PLAN (or QUERY_PLAN_AS_HTML) are both turned on, Sybase IQ displays additional information about the query when producing its query plan. When QUERY_PLAN and QUERY_PLAN_AS_HTML are OFF, this option is ignored.

When QUERY_PLAN is ON (the default), especially if QUERY_DETAIL is also ON, you might want to enable message log wrapping or message log archiving to avoid filling up your message log file. Message log wrapping is described in System Administration Guide: Volume 1.

Related reference
QUERY_PLAN Option
QUERY_PLAN_AS_HTML Option