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

qualify_owners option [SQL Remote] Next Page

query_plan_on_open option [compatibility]


Controls whether a plan is returned when a cursor is opened.

Allowed values

On, Off

Default

Off

Remarks

In early versions of the software, each time an OPEN was done on a cursor, the server would return in the SQLCA sqlerrmc field a string representing the query plan (limited to 70 bytes). A more complete description can be obtained using the EXPLAIN statement or the PLAN function. For this reason, computing and returning the query plan on an OPEN is needed only for compatibility with old applications. The query_plan_on_open option controls whether the plan is returned on an OPEN.