Bejelentkezés Microsoft-fiókkal
Jelentkezzen be, vagy hozzon létre egy fiókot.
Üdvözöljük!
Válasszon másik fiókot.
Több fiókja van
Válassza ki a bejelentkezéshez használni kívánt fiókot.
Angol
Sajnáljuk. Ez a cikk nem érhető el az Ön nyelvén.

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

További segítségre van szüksége?

További lehetőségeket szeretne?

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.

Hasznos volt ez az információ?

Mi volt hatással a felhasználói élményére?
Ha elküldi a visszajelzést, a Microsoft felhasználja azt a termékei és szolgáltatásai továbbfejlesztéséhez. Az informatikai rendszergazda képes lesz ezeket az adatokat összegyűjteni. Adatvédelmi nyilatkozat.

Köszönjük a visszajelzését!

×