4D v14.3Get last query plan |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
Get last query plan
|
Get last query plan ( descFormat ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
descFormat | Longint |
![]() |
Description format (Text or XML) | |||||
Function result | String |
![]() |
Description of last executed query plan | |||||
The Get last query plan command returns the detailed internal description of the query plan for the last query carried out on the data. For more information about query descriptions, please refer to the documentation of the DESCRIBE QUERY EXECUTION command.
This description is returned in Text or XML format depending on the value passed in the descFormat parameter. You can pass one of the following constants, found in the “Queries” theme:
Constant | Type | Value |
Description in text format | Longint | 0 |
Description in XML format | Longint | 1 |
The description of the last query plan can be compared to the description of the actual path of the last query (obtained using the Get last query path command) for optimization purposes.
Product: 4D
Theme: Queries
Number:
1046
Created: 4D v11 SQL Release 1
DESCRIBE QUERY EXECUTION
Get last query path
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)