Class SqlStatement Foundation
The abstract base class SqlStatement implementes build and exection of SQL Statements for all Xbase++ DatabaseEngines.
The SQLStatement Class is used to create and execute SQL statements. The Class implements various helper functionality which makes handling of SQL statements easier and less error prone. It is not possible to create a instance of that class using :new(), instead the DacSqlStatement() needs is used to create objects.
To retrieve the object for an concrete implementation of the SQLStatement features use DacSqlStatement(). The function DacSqlStatement determined the current session or takes the session passed to request a SQLStatement object from the underlying DatabaseEngine. Use USqlStatement():New() to create an SqlStatement object for the embedded SQL engine.
oStmt1 := DacSqlStatement():fromChar("CREATE DATABASE crm_test")
The statement may be used multiple times, but cannot be used concurrently from different threads.
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.