Share via


Query hint QUERYTRACEON is now documented publically

I just wanted to put a quick note that QUERYTRACEON is now publically documented in https://support.microsoft.com/kb/2801413/en-us.  If you have situations where you don’t want to enable an optimizer trace flag globally on your server instance, you can use this hint for a specific query.   Note that we only support the trace flags listed in the KB article.

Comments

  • Anonymous
    February 07, 2013
    That is extremely cool. I'm torn between being angry at you people for not documenting this before and being happy that I know this exists. :-)
  • Anonymous
    April 24, 2013
    There should be a note in the documentation regarding permissions needed to use the hint.
  • Anonymous
    June 09, 2015
    The comment has been removed