MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 12th, 2004, 05:17 PM
Next_Gate Next_Gate is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 45 Next_Gate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 36 sec
Reputation Power: 6
mySQL EXPLAIN syntax for MSSQL?

in mysql i used to use the EXPLAIN syntax for retrieving info from tables, selects etc, but now i was wondring if something similar exixsts for MSSQL

Thanks in advance!

Reply With Quote
  #2  
Old May 13th, 2004, 02:42 AM
swampBoogie swampBoogie is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2003
Location: Paris Uppland
Posts: 1,784 swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 21 h 42 m 49 sec
Reputation Power: 37

Reply With Quote
  #3  
Old May 13th, 2004, 03:40 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,907 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 9 h 21 m 6 sec
Reputation Power: 279
If you are querying MsSQL with QueryAnalyzer there is a nice button ("Display Extimated Excecution Plan" or Ctrl+L) to visually show the explain plan.

Reply With Quote
  #4  
Old May 13th, 2004, 08:01 AM
Next_Gate Next_Gate is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 45 Next_Gate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 36 sec
Reputation Power: 6
Quote:
Originally Posted by swampBoogie


when i try to enter this url explorer crashes

Reply With Quote
  #5  
Old May 13th, 2004, 08:04 AM
Next_Gate Next_Gate is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 45 Next_Gate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 36 sec
Reputation Power: 6
Quote:
Originally Posted by pabloj
If you are querying MsSQL with QueryAnalyzer there is a nice button ("Display Extimated Excecution Plan" or Ctrl+L) to visually show the explain plan.


That's very cool but what if i want to do it within my program in php?

Thanks

Reply With Quote
  #6  
Old May 13th, 2004, 08:27 AM
swampBoogie swampBoogie is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2003
Location: Paris Uppland
Posts: 1,784 swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level)swampBoogie User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 21 h 42 m 49 sec
Reputation Power: 37
Quote:
Originally Posted by Next_Gate
when i try to enter this url explorer crashes


The link works for me when I click on it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > mySQL EXPLAIN syntax for MSSQL?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT