|
Example MultiRecords: Typically, we send one SQL statement to a server for generating one rowset only. If an OLEDB provider enables us to send a batch statement which would produce multiple rowsets and send all of records of all the rowsets using one stream if possible, it will be the best. It definitely increase performance! MS SQL Server provider supports this kind of batch statement. This example demonstrates how to use a batch statement with parameterized stored procedure and a SQL select statement by use of template class CMultiBulkRecord<T>. Here is the list of questions to be answered.
|