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 59125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:57:22+00:00 2026-05-10T17:57:22+00:00

SqlDataReader is a faster way to process the stored procedure. What are some of

  • 0

SqlDataReader is a faster way to process the stored procedure. What are some of the advantage/disadvantages of using SQLDataReader?

  • 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. 2026-05-10T17:57:23+00:00Added an answer on May 10, 2026 at 5:57 pm

    I assume you mean ‘instead of loading the results into a DataTable’?

    Advantages: you’re in control of how the data is loaded. You can ask for specific data types, and you don’t end up loading the whole set of data into memory all at the same time unless you want to. Basically, if you want the data but don’t need a data table (e.g. you’re going to populate your own kind of collection) you don’t get the overhead of the intermediate step.

    Disadvantages: you’re in control of how the data is loaded, which means it’s easier to make a mistake and there’s more work to do.

    What’s your use case here? Do you have a good reason to believe that the overhead of using a normal (or strongly typed) data table is significantly hurting performance? I’d only use SqlDataReader directly if I had a good reason to do so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer This worked with the following code, granted I was being… May 11, 2026 at 12:48 pm
  • added an answer I'd run a mixture of 'top' as well as tail… May 11, 2026 at 12:48 pm
  • added an answer Use the return statement. if(!condition1) return; if(!condition2) return; // body... May 11, 2026 at 12:48 pm

Related Questions

When accessing values from an SqlDataReader is there a performance difference between these two:
Is the SqlClient.SqlDataReader a .NET managed object or not? Why do we have to
public delegate T GetObject<T>(SqlDataReader reader); public delegate KeyValuePair<TKey, TValue> GetObject<TKey, TValue>(SqlDataReader reader); Is it
When trying to call Close or Dispose on an SqlDataReader i get a timeout
This is a frequently recurring problem of generating a tree from a flat list
EDIT: Modified title and added update. UPDATE : We no longer believe this is
during beta testing we discovered connection pooling error messages . Therefore I have been

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.