|
1 | 1 | # Microsoft SQL Server Trace Flags |
2 | | -Detailed list of all discovered (documented and undocumented) Microsoft SQL Server trace flags (**618** trace flags). |
| 2 | +Detailed list of all discovered (documented and undocumented) Microsoft SQL Server trace flags (**620** trace flags). |
3 | 3 |
|
4 | 4 | ⚠ **REMEMBER: Be extremely careful with trace flags, test in your development environment first. |
5 | 5 | And consult professionals first if you are the slightest uncertain about the effects of your changes.** |
@@ -289,7 +289,7 @@ Use this trace flag if SQL Server is experiencing high number of [QDS_LOADDB](ht |
289 | 289 |
|
290 | 290 | <a id="trace-flags-list"></a> |
291 | 291 | ## Trace Flags List |
292 | | -Summary: **618 trace flags** |
| 292 | +Summary: **620 trace flags** |
293 | 293 |
|
294 | 294 |
|
295 | 295 | <a id="-1"></a> |
@@ -1295,6 +1295,19 @@ Function: Allows the `ALTER PARTITION FUNCTION` statement to honor the current u |
1295 | 1295 | Link: https://support.microsoft.com/kb/4025261<br /> |
1296 | 1296 | Link: [Docs Trace Flags]<br /> |
1297 | 1297 | Scope: global or session or query |
| 1298 | + |
| 1299 | + |
| 1300 | +<a id="1252"></a> |
| 1301 | +#### Trace Flag: 1252 |
| 1302 | +**Undocumented trace flag**<br /> |
| 1303 | +Function: It prints some kind of lock related information when [3604](#3604) is also enabled. Example: |
| 1304 | +``` |
| 1305 | +SELECT * FROM master..spt_values |
| 1306 | +OPTION (QUERYTRACEON 1252, QUERYTRACEON 3604); |
| 1307 | +``` |
| 1308 | +<br /> |
| 1309 | +Link: https://github.com/ktaranov/sqlserver-kit/issues/196<br /> |
| 1310 | +Scope: ? |
1298 | 1311 |
|
1299 | 1312 |
|
1300 | 1313 | <a id="1260"></a> |
@@ -4196,6 +4209,14 @@ Link: https://sql-sasquatch.blogspot.com/2018/12/fun-with-sql-server-plan-cache- |
4196 | 4209 | Link: [Fun with SQL Server Plan Cache, Trace Flag 8666, and Trace Flag 2388]<br /> |
4197 | 4210 | Scope: global or session |
4198 | 4211 |
|
| 4212 | + |
| 4213 | +<a id="8670"></a> |
| 4214 | +#### Trace Flag: 8670 |
| 4215 | +**Undocumented trace flag**<br /> |
| 4216 | +Function: Skip search 2 in plan?<br /> |
| 4217 | +Link: [Query Optimizer Deep Dive - Part 4]<br /> |
| 4218 | +Scope: ? |
| 4219 | + |
4199 | 4220 |
|
4200 | 4221 | <a id="8671"></a> |
4201 | 4222 | #### Trace Flag: 8671 |
|
0 commit comments