ExecSQL method

Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLDataset

Applies to
TMySQLDataset TMySQLTable and TMySQLQuery components

Declaration
function ExecSQL(SQL: string; EnableMacros: boolean=False; Cached: boolean=False): boolean;

Description
Execute any SQL statement using the dataset's server connection. If EnableMacros is True, the SQL will be parsed using the macros. If Cached is True, the SQL will be sent to the server with the next call to the Refresh or Close method.