This topic applies to the MFC ODBC classes.
The MFC
![]() |
---|
This topic applies to objects derived from CRecordset in which bulk row fetching has not been implemented. If you are using bulk row fetching, see Recordset: Fetching Records in Bulk (ODBC). |
A new option for the dwOptions parameter to the
If you are using the database classes to take advantage of the ::SQLSetPos ODBC API function for adding, editing, and deleting records, this optimization is unnecessary.
If the ODBC Cursor Library is loaded or the ODBC driver does not support adding, editing, and deleting through ::SQLSetPos, this optimization should improve bulk add performance. To turn on this optimization, set the dwOptions parameter in the Open call for your recordset to the following:
В | ![]() |
---|---|
appendOnly | optimizeBulkAdd |