[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sqldb' (#fcl)

# TCustomSQLStatement.RowsAffected

Number of rows affected by the SQL statement.

## Declaration

Source position: sqldb.pp line 276

`public function TCustomSQLStatement.RowsAffected: TRowsCount; virtual;`

## Function result

The number of affected rows by the last executed SQL command.

## Description

RowsAffected is set to the number of affected rows after Execute was called. Not all databases may support this.

## See also

Execute

Documentation generated on: Feb 26 2014