home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,765 of 19,505   
   Erland Sommarskog to b.f.lundin@gmail.com   
   Re: explain? Execution plans?   
   20 Sep 12 23:36:52   
   
   From: esquel@sommarskog.se   
      
   björn lundin (b.f.lundin@gmail.com) writes:   
   > In others databases, I can run   
   > explain (some query)   
   > and get a execution plan.   
   >   
   > We have a tool that parses source code for   
   > sql statements and runs explain on them.   
   > By doing this, we get   
   > * the execution plan (obviously)   
   > * but also a receipt that the embedded sqls are valid.   
      
   Any of   
      
   SET SHOWPLAN_TEXT ON   
   SET SHOWPLAN_ALL ON   
   SET SHOWPLAN_XML ON   
      
   --   
   Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se   
      
   Links for SQL Server Books Online:   
   SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx   
   SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca