Vpišite se z Microsoftovim
Vpišite se ali ustvarite račun.
Pozdravljeni,
Izberite drug račun.
Imate več računov
Izberite račun, s katerim se želite vpisati.
angleščina
Ta članek žal ni na voljo v vašem jeziku.

Summary

In Microsoft SQL Server, the new TraceFlags element is added to the QueryPlan element in the showplan XML. This element lists all trace flags that are enabled at the instance or session level when the query plan is compiled, and for actual execution showplans, a specific query is executed. There can be up to two instances of TraceFlags element, one for compile time (with the IsCompileTime attribute equaling to one), and one for execution time (If a trace flag is enabled during both compilation and execution, it will be presented in both lists). Each element can have a list of one or more TraceFlag elements that have two attributes. The Value attribute identifies the trace flag number, and the Scope attribute can be "Global" or "Session" depending on how the trace flag is enabled (If a trace flag is enabled at the query level by using OPTION QUERYTRACEON, it will appear as in the "Session" scope in showplan).

If no trace flag is enabled during compile or execution time, corresponding elements won't be included.

Note The showplan XML will list up to 100 trace flags that are enabled.

Resolution

Service pack information for SQL Server

This update is fixed in the following service packs for SQL Server:

SQL Server 2016 Service Pack 1

Service Pack 3 for SQL Server 2014

Service Pack 4 for SQL Server 2012

Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. Our recommendation is to apply the latest service pack and the latest cumulative update for that service pack. You don't have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article for finding more information about the latest service pack and latest cumulative update.

How to determine the version, edition and update level of SQL Server and its components

Ali potrebujete dodatno pomoč?

Ali želite več možnosti?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Vam je bila informacija v pomoč?

Kaj je vplivalo na vašo izkušnjo?
Če pritisnete »Pošlji«, bomo vaše povratne informacije uporabili za izboljšanje Microsoftovih izdelkov in storitev. Vaš skrbnik za IT bo lahko zbiral te podatke. Izjavi o zasebnosti.

Zahvaljujemo se vam za povratne informacije.

×