[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The SQL statement to execute
Source position: sqldb.pp line 667
published property TSQLQuery.SQL : TStringList; |
SQL is the SQL statement that will be executed when ExecSQL is called, or Open is called. It should contain a valid SQL statement for the connection to which the TSQLQuery component is connected. SQLDB will not attempt to modify the SQL statement so it is accepted by the SQL engine.
Setting or modifying the SQL statement will call UnPrepare
If ParseSQL is True, the SQL statement will be parsed and the Params property will be updated with the names of the parameters found in the SQL statement.
See also Using parameters
|
Should the SQL statement be parsed or not |
|
|
Parameters detected in the SQL statement. |
|
|
Execute a SQL statement that does not return a result set |
|
|
Activate the dataset: Fetch data into memory. |