Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Execution Plan Expand / Collapse
Author
Message
Posted Wednesday, May 15, 2013 9:18 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 11:01 AM
Points: 346, Visits: 595
when i'm looking at stored procedures i add the following to the top of the code
dbcc freeproccache
set statistics io on
set statistics time on

Is there also a way to turn on the real execution plan this way, by a command, instead of by mouse?
thanks very much
drew
Post #1453174
Posted Wednesday, May 15, 2013 9:21 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: 2 days ago @ 9:42 AM
Points: 743, Visits: 1,066
CTRL+M
Post #1453176
Posted Wednesday, May 15, 2013 9:50 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 11:01 AM
Points: 346, Visits: 595
obviously, didnt know that
thanks a ton!
Post #1453197
Posted Wednesday, May 15, 2013 10:20 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 12:06 PM
Points: 10,910, Visits: 12,546
SET STATISTICS XML ON;



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #1453216
Posted Thursday, May 16, 2013 7:13 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 11:01 AM
Points: 346, Visits: 595
Hot Dawg!
even better
thanks very much
drew
Post #1453512
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse