Icon Execute Method

int __fastcall Execute(const System::UnicodeString SQL,
      Db::TParams* Params = (Db::TParams*)(0x0), TEDBQuery* Query =
      (TEDBQuery*)(0x0))

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 statement may also be parameterized.

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