Icon Execute Method

function Execute(const SQL: String; Params: TDBISAMParams=nil;
      Query: TDBISAMQuery=nil): Integer

Usage

Call the Execute method to execute an SQL statement directly. The number of rows affected is returned as the result of this method. The SQL passed to this method can be a single SQL statement or an SQL script. These SQL statements may also be parameterized.

Information You may pass in a TDBISAMQuery component that has already been created for use with this method. However, in such a case you should be aware that many properties of the TDBISAMQuery component will be overwritten by this method in order to execute the SQL.
Image