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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:57:48+00:00 2026-05-25T12:57:48+00:00

In my stored procedure, it will do a lot of insert/update queries, and call

  • 0

In my stored procedure, it will do a lot of insert/update queries, and call a few nested stored procedures.

I want to disable the execution plan, bypassing the above mentioned queries, then switch it on to start profiling those queries I am interested in.

for example:

…switch off execution plan

INSERT INTO FOO ...
UPDATE FOO...
EXEC usp_FOO

…switch on execution plan here then I can start getting the performance stat

SELECT * FROM FOO

In SQL Server Management Studio, we have “Include Actual Execution Plan” for performance trace/debug, but if there are more than 100 queries, the execution plan output will exceed and stop working. So I believe there should be some switch like ‘SET EXECUTION PLAN OFF’ something like that

  • 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-25T12:57:49+00:00Added an answer on May 25, 2026 at 12:57 pm

    I recommend reading Capture execution plans with SQL Server 2005 Profiler. Using profiler, you can generate execution plans for every single query that is run in your stored procedure without worrying about the output limitations of SQL Server Management Studio.

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

Sidebar

Related Questions

I want to create stored procedure that call recursion function, each time it will
I want to write a stored procedure that will accept a parameter of @searchString.
I'm writing a stored procedure that will bring back a lot of project information.
I guess, When i use temporary table in Stored Procedure ,the stored procedure will
I have the following stored procedure which will generate mon to sun and then
I am writting a stored procedure that will get data for a sales report.
I'm trying to create a stored procedure that will be used by a client
I am trying to build an Oracle stored procedure which will accept a table
I am writing a stored procedure that when completed will be used to scan
I'm trying to write a stored procedure in SQL that will : Make a

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.