Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9191027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:35:18+00:00 2026-06-17T20:35:18+00:00

I want to know if a multiple active result set, MARS , exists for

  • 0

I want to know if a multiple active result set, MARS, exists for the Microsoft’s Access database? I am aware this exists for SQL Server. I tried using it with Access but it didn’t work for me. I want to know how to use MARS with Access.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:35:19+00:00Added an answer on June 17, 2026 at 8:35 pm

    In short, Microsoft Access does not support multiple active result sets (MARS). It is not supported by the ODBC provider and the reason why that is not the case should be obvious if you think about it in terms of what MARS actually offers you from a performance stand point.

    If you think about the most important reason for MARS to exist is if you have stored procedures executed on a SQL server that produce multiple result sets. If you have such queries you need to be able to somehow access those multiple results sets.

    But in Access there is no such thing as stored procedures. If you have multiple queries you can just execute each one of them separately and get the result set for each. Hence, no need for MARS.

    NOTE

    In light of the comments, here’s an example of how to have two data readers open at the same time:

     using(var connection1 = new OdbcConnection("your connection string here"))
     {
       connection1.Open();
       using(var connection2 = new OdbcConnection("your connection string here"))
       {
         connection2.Open();
    
         using(var cmd1 = connection1.CreateCommand())
         {
           cmd1.CommandText = "YOU FIRST QUERY HERE";
    
           using(var dataReader1 = cmd1.ExecuteReader())
           {
              while(dataReader1.Read())
              {
                 // keep reading data from dataReader1 / connection 1
                 //  .. at some point you may need to execute a second query
    
                 using(var cmd2 = connection2.CreateCommand())
                 {
                    cmd2.CommandText = "YOUR SECOND QUERY HERE";
    
                    // you can now execute the second query here
                    using(var dataReader2 = cmd2.ExecuteReader())
                    {
                       while(dataReader2.Read())
                       {
    
                       }
                    }
                 }
              } 
           }
         }
         connection2.Close();
       }
       connection1.Close();
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table and this table contain multiple columns. I want to know
i want know how i can manage multiple twitter account on iOS in my
I want to know whether it is possible to have multiple stores under 1
I want to know what the best practice is for passing values (sometimes multiple
I want to know which component is best to display multiple line of text's(
I want to know how can multiple users work in a SharePoint project? How
I want to select data from multiple tables, so i just want to know
I am using multiple scripts to get to a sub-window. I want to know
I want to add multiple classes to an html element I know the following
I want to know, how can I create Multiple Windows Like Chat windows in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.