[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return the number of rows (records) affected by the last DML/DDL statement
Source position: sqldb.pp line 588
public function TCustomSQLQuery.RowsAffected: TRowsCount; virtual; |
The number of affected rows or -1 if not supported
RowsAffected returns the number of rows affected by the last statement executed using ExecSQL.
If the connection or database type does not support returning this number, -1 is returned. If the query is not connected to a database, -1 is returned.
|
Execute a SQL statement that does not return a result set |
|
|
An abstract class representing a connection to a SQL Database |