Method DacSession():executeStatement() Professional
Executes arbitrary SQL statements.
:executeStatement( <cSqlStmt> [,@<nRowsAffected>] )
The method returns .T. (true) when the statement is executed successfully. Otherwise .F. (false) is returned and detailed error information can be retrieved using :getLastError().
The method :executeStatement() executes arbitrary SQL statements, such as INSERT, UPDATE, DELETE or SQL DDL statements. The return value of the statement, if one exists, is ignored. In order to execute statements returning a value such as an SQL SELECT, the method :executeQuery() must be used instead.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.