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

  • SEARCH
  • Home
  • 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 7807435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:51:16+00:00 2026-06-02T02:51:16+00:00

What are the performance differences between accessing a database to query using ASP.NET Code

  • 0

What are the performance differences between accessing a database to query using ASP.NET Code behind against using SQL Stored Procedure

For ease of use, coding the query is easier, especially when coming to maintenance and changes.

However, a stored procedure is compiled in a database and run by the database.

Which one is more efficient, better to use?

  • 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-02T02:51:17+00:00Added an answer on June 2, 2026 at 2:51 am

    SQL Server caches the execution plan of any query, SPROC or not. There is virtually no difference here. Basically, you save sending the query text over the network when using an sproc, nothing more. Source: http://msdn.microsoft.com/en-us/library/ms181055.aspx

    Without and special reason being present, do what ever is more convenient to you.

    The other answers suggesting generally better performance for sprocs are not true.

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

Sidebar

Related Questions

Has somebody measured performance differences between real SQL Server database and a SQL Server
I am seeing some significant performance differences between OracleBulkCopy (ODP.NET) and SQL*Loader when the
Are there any performance differences between using if-else and case statements when handling multiple
Are there any caching/performance/significant differences between c# code placed in <script runat='server'></script> as oppose
When using NSURLRequest on the iPhone, what are the real world performance differences between
I'm finding massive performance differences between similar code in C and C#. The C
I'm wondering about the performance differences between imports and inherits in a .net app.
Is there any performance differences between string.Format and String.Format ? As far as i
I am wondering if anyone has any real world numbers on performance differences between
Are there any differences when it comes to performance between the following three border

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.