Return the number of rows affected by a SQL insert, rather than an object ID.