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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:41:10+00:00 2026-05-30T07:41:10+00:00

I was advised when executing a stored procedure, I should include the prefox dbo

  • 0

I was advised when executing a stored procedure, I should include the prefox dbo e.g.

exec dbo.’name_of_stored_procedure’

  • Does it matter if I don’t include the prefix?
  • When should I use the prefix?
  • 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-30T07:41:11+00:00Added an answer on May 30, 2026 at 7:41 am

    If your stored procedure is in the dbo schema, then you should say:

    EXEC dbo.name_of_procedure;
    

    Pros for specifying schema:

    • you know you’re calling dbo.procedure even if there is also some_other_schema.procedure
    • the query engine doesn’t have to go check your default schema for a similarly named object first
    • you don’t get unpredictable results (e.g. if there is one in your schema but you meant dbo)
    • you have a better chance at query plan re-use if everyone consistently uses schema

    Cons for specifying schema:

    • you type an extra four characters

    What else does not being explicit buy you?

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

Sidebar

Related Questions

People always advised me that if I am doing some application that should use
It is advised to use override instead of new key word in C#. Why
As I've read somewhere it is advised to use !== and === instead.
Somebody advised me to use Entity Framework here when I asked this question: what
I have been advised to use the following options with GCC, as it helps
As I was advised by a good man and programmer I should simplify my
I heard that its not advised to use % in the beginning of LIKE
So what does this exactly means? Some advised that to circumvent around this error,
I was advised to use this code to make my method execute after a
After asking this question I was advised not to check in binaries into subversion.

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.