|
|
|
|
|
- Formatting the result
- Use in HFSQL stored procedures
SQLCode (Property) In french: CodeSQL
The SQLCode code property is used to get the SQL code of a query created with the query editor (".WDR" file). The comments entered in the query editor are visible in the SQL code. // Assigns the SQL code of the query to a string MySQLCode is string MySQLCode = QRY_QueryCalculation.SQLCode
Syntax
Getting the SQL code of a query Hide the details
<SQL code> = <Query used>.SQLCode
<SQL code>: Character string SQL code of the specified query. If the ".WDR" file contains comments, they will appear in the SQL code of the query (comments start with "--"). <Query used>: Query name Logical name of the query used. This name is defined in the query editor. Remarks Formatting the result The SQL code of the query is identical to the one displayed in the query editor via "SQL code" in the context menu of the query: spaces, tabs and line breaks are preserved. Use in HFSQL stored procedures The SQLCode property can be used in the code of a stored procedure to get the code of a stored query on the server.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|