Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.2 KB

multiple-active-result-sets-mars.md

File metadata and controls

30 lines (24 loc) · 1.2 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic
Multiple Active Result Sets (MARS)
Describes how to have more than one SqlDataReader open on a connection when each instance of SqlDataReader is started from a separate command.
David-Engel
davidengel
v-kaywon
08/15/2019
sql
connectivity
conceptual

Multiple Active Result Sets (MARS)

[!INCLUDEDriver_ADONET_Download]

Multiple Active Result Sets (MARS) is a feature that allows the execution of multiple batches on a single connection. In previous versions, only one batch could be executed at a time against a single connection. Executing multiple batches with MARS does not imply simultaneous execution of operations.

In this section

Enabling Multiple Active Result Sets
Discusses how to use MARS with SQL Server.

Manipulating data
Provides examples of coding MARS applications.

Related sections

Asynchronous operations
Provides details on using the new asynchronous features in .NET.

Next steps