MDAC 2.5 SDK - ODBC Programmer's Reference
Chapter 5: Basic ODBC Application Steps
The next step is to fetch the row count, as shown in the following illustration.
If the statement executed in Step 3 was an UPDATE, DELETE, or INSERT statement, the application retrieves the count of affected rows with SQLRowCount. For more information, see "Determining the Number of Affected Rows" in Chapter 12, "Updating Data."
The application now returns to step 3 to execute another statement in the same transaction or proceeds to step 5 to commit or roll back the transaction.