The SQLCodeExecuted property gets the SQL code of a query after replacing the parameters with a value.
QRY_CUSTOMER.pPostalCode = "34080"
HExecuteQuery(QRY_CUSTOMER)
Trace(QRY_CUSTOMER.SQLCodeExecuted)
Syntax
<Result> = <Query>.SQLCodeExecuted
<Result>: Character string
SQL code of the query.
<Query>: Query name
Query used. This query can correspond to: - a previously executed WDR query,
- a query data source,
- a variable of type SQL query.
Remarks
The query must have been executed. It must not have been released.