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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:50:34+00:00 2026-05-25T23:50:34+00:00

I have recently started working on Databases. I know the basic difference between Stored

  • 0

I have recently started working on Databases. I know the basic difference between Stored Procedures and Prepared Statements. But can just brief me an idea that when we have to use which one. My trainer told me both are used when you have to execute a command often but then which one we should go for. I have heard that Stored procedures are always preferred. I know Stored procedures are pre-compiled and written in database.
I can accept if someone says actually there is no similarity between the two so no question of differences and usage preference, but still I putted this question as I am unaware of these things. I am using SQL Server 2008 Express with C#. Can some one help me out please.

  • 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-05-25T23:50:35+00:00Added an answer on May 25, 2026 at 11:50 pm

    Use both? Stored procedures for writes, prepared statements for reads?

    Why?

    • Command-query separation
    • RDBMS deals with transactions, data integrity etc (eg less round trips to check a condition)
    • Clients are not constrained to stored procedures for reads (but would still use a view or UDF: never raw tables)

    Oherwise, there is no correct answer because it will be different depending who you ask

    • stored procedures and banks
    • When to use Stored Procedures instead of using any ORM with programming logic?
    • Any reason not to use stored procedures for every query?
    • and many others
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that I have recently started working on seriously but had
I recently started working with Silverlight and immediately noticed the difference between the Silverlight
I have recently started working with JSF2.0 and Facelets, but have run into what
I have recently started working on a very large C++ project that, after completing
I have recently started working with Unified Communication Managed API 2.0 (UCMA) and Office
I have only recently started working with the MVC approach, so I suppose this
I have recently started using Vim as my text editor and am currently working
I have recently started exploring Maven, but I feel a bit overwhelmed of all
I have recently started working on my master thesis in C that I haven't
I have recently started working on an app which has both Java and native

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.