ttOptGetOrder
This procedure returns a single-row result set
containing the join order for the current transaction. This result set can
be retrieved using the ODBC
SQLFetch
function or the JDBC
ResultSet.get
XXX
()
method,
just like the result of a SQL SELECT
statement. Join orders are described
under the ttOptSetOrder built-in procedure.
Required Privilege
This procedure requires no privilege.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is supported in TimesTen Classic.
This procedure is supported in TimesTen Scaleout.
This procedure returns a row for the element from which it was called. To see information about other elements, query the SYS.GV$OPT_ORDER system table.
Syntax
ttOptGetOrder()
Parameters
ttOptGetOrder
has no parameters.
Result Set
ttOptGetOrder
returns the result set:
Column | Type | Description |
---|---|---|
|
|
Optimizer join order for the current transaction. |
Example
CALL ttOptGetOrder ();
See Also