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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:16:48+00:00 2026-06-13T14:16:48+00:00

I am migrating an existing .NET 2.0, SQL Server codebase to a .NET 4.0,

  • 0

I am migrating an existing .NET 2.0, SQL Server codebase to a .NET 4.0, SQL Server 2008 environment.

The design pattern is that all app calls to the database go through a stored procedure. So there’s a get[object name] stored procedure that needs to be created or altered for most select statements.

So the disadvantages of this architecture to me are already evident: inconvenience.

What are the advantages of this highly enforced stored procedure design? (now in .NET 4.0 as opposed to using an ORM).

  • 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-13T14:16:49+00:00Added an answer on June 13, 2026 at 2:16 pm

    Actually – contrary to popular belief – performance isn’t one of the advantages of stored procedures – not anymore. Properly written “inline” SQL queries with parameters are just as fast, get “compiled” once by SQL Server (before first use) and remain in the procedure cache of SQL Server just as long as any stored procedure.

    But stored procedures do have advantages – two main ones I’d like to mention:

    1. the shield the user from the underlying tables. Which also means: it’s another layer in your security system. Your database users do not need access to the tables – and thus they won’t be able to cause any grief on those tables, either – by accessing them via Excel or Access or some other tool. This alone can be a huge benefit.

    2. the second point is having a layer of stored procedure can give your DBA a place to optimize. You as a developer only call stored procedures – and the DBA can tweak them, fine tune them, make them run faster. As long as the parameter list and the return result set remain the same – you as a frontend developer won’t even notice (at least not in a negative way!)

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

Sidebar

Related Questions

I want to migrate my existing desktop Windows .NET 3.5 app. that uses MySQL
I'm currently migrating all existing (incomplete) documentation to Sphinx . The problem is that
We're currently migrating an existing application to ASP.NET MVC 3. We're reusing the database
We are migrating a database from MySQL to SQL Server. The migration is pretty
I m migrating my existing drupal site from one server to another . I
I have been tasked with migrating an existing mature ASP.NET 2.0 web site to
Currently we are migrating an existing asp.net web application to asp.net mvc 2 platform.
We are migrating from a Server 2000 machine to a Server 2008. I have
I have an existing admin_user that I'm basically migrating to an additional admin_user record,
I'm creating (really, re-creating) an app that has existing user and other data 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.