Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It appears that it's on by default - although check any shortcut you are using to launch and make sure it's not launching with a <code>-x</code></p> <p>From <a href="http://msdn.microsoft.com/en-us/library/ms345524(v=SQL.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms345524(v=SQL.90).aspx</a></p> <blockquote> <p>This feature can only be disabled if an instance of SQL Server is started by using the -x argument with the sqlservr command-prompt utility.</p> </blockquote> <p>Also you'll want to know that the table is populated as queries are run if SQL Server uses the query optimizer - this table is <strong>cleared when you restart SQL Server</strong>.</p> <p>From <a href="http://msdn.microsoft.com/en-us/library/ms345434(v=SQL.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms345434(v=SQL.90).aspx</a></p> <blockquote> <p>Information returned by sys.dm_db_missing_index_details is updated when a query is optimized by the query optimizer, and is not persisted. Missing index information is kept only until SQL Server is restarted. Database administrators should periodically make backup copies of the missing index information if they want to keep it after server recycling.</p> </blockquote> <p>Lastly there is an article that goes into the limitations here that you may or may not know about, but I'll post in case someone else happens across this post and needs: <a href="http://msdn.microsoft.com/en-us/library/ms345485(v=SQL.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms345485(v=SQL.90).aspx</a></p> <p>I didn't see anything about the feature being missing in some versions but you WILL need certain permissions: </p> <blockquote> <p>Users must be granted the VIEW SERVER STATE permission or any permission that implies the VIEW SERVER STATE permission to query this dynamic management view.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload