QUERY_DETAIL option

Function

Specifies whether or not to include additional query information.

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 to avoid filling up your message log file. See “IQMSG_LENGTH_MB option” for details.

See also

“QUERY_PLAN option”.

“QUERY_PLAN_AS_HTML option”.