@@ -4,7 +4,7 @@ description: "Query hints specify that the indicated hints are used in the scope
4
4
author : rwestMSFT
5
5
ms.author : randolphwest
6
6
ms.reviewer : wiassaf
7
- ms.date : 03/26 /2025
7
+ ms.date : 04/15 /2025
8
8
ms.service : sql
9
9
ms.subservice : t-sql
10
10
ms.topic : reference
@@ -106,7 +106,7 @@ Query hints specify that the indicated hints are used in the scope of a query. T
106
106
| QUERYTRACEON <integer_value>
107
107
| RECOMPILE
108
108
| ROBUST PLAN
109
- | USE HINT ( <use_hint_name> [ , ...n ] )
109
+ | USE HINT ( 'hint_name' [ , ...n ] )
110
110
| USE PLAN N'<xml_plan>'
111
111
| TABLE HINT ( <exposed_object_name> [ , <table_hint> [ [ , ] ...n ] ] )
112
112
| FOR TIMESTAMP AS OF '<point_in_time>'
@@ -135,29 +135,6 @@ Query hints specify that the indicated hints are used in the scope of a query. T
135
135
| UPDLOCK
136
136
| XLOCK
137
137
}
138
-
139
- <use_hint_name> ::=
140
- { 'ASSUME_JOIN_PREDICATE_DEPENDS_ON_FILTERS'
141
- | 'ASSUME_MIN_SELECTIVITY_FOR_FILTER_ESTIMATES'
142
- | 'ASSUME_FULL_INDEPENDENCE_FOR_FILTER_ESTIMATES'
143
- | 'ASSUME_PARTIAL_CORRELATION_FOR_FILTER_ESTIMATES'
144
- | 'DISABLE_BATCH_MODE_ADAPTIVE_JOINS'
145
- | 'DISABLE_BATCH_MODE_MEMORY_GRANT_FEEDBACK'
146
- | 'DISABLE_DEFERRED_COMPILATION_TV'
147
- | 'DISABLE_INTERLEAVED_EXECUTION_TVF'
148
- | 'DISABLE_OPTIMIZED_NESTED_LOOP'
149
- | 'DISABLE_OPTIMIZER_ROWGOAL'
150
- | 'DISABLE_PARAMETER_SNIFFING'
151
- | 'DISABLE_ROW_MODE_MEMORY_GRANT_FEEDBACK'
152
- | 'DISABLE_TSQL_SCALAR_UDF_INLINING'
153
- | 'DISALLOW_BATCH_MODE'
154
- | 'ENABLE_HIST_AMENDMENT_FOR_ASC_KEYS'
155
- | 'ENABLE_QUERY_OPTIMIZER_HOTFIXES'
156
- | 'FORCE_DEFAULT_CARDINALITY_ESTIMATION'
157
- | 'FORCE_LEGACY_CARDINALITY_ESTIMATION'
158
- | 'QUERY_OPTIMIZER_COMPATIBILITY_LEVEL_n'
159
- | 'QUERY_PLAN_PROFILE'
160
- }
161
138
```
162
139
163
140
## Arguments
@@ -344,7 +321,7 @@ If such a plan isn't possible, the Query Optimizer returns an error instead of d
344
321
345
322
** Applies to** : [ !INCLUDE [ ssNoVersion] ( ../../includes/ssnoversion-md.md )] (starting with [ !INCLUDE [ sssql16-md] ( ../../includes/sssql16-md.md )] SP1), [ !INCLUDE [ ssazure-sqldb] ( ../../includes/ssazure-sqldb.md )] , and [ !INCLUDE [ ssazuremi-md] ( ../../includes/ssazuremi-md.md )] .
346
323
347
- Provides one or more extra hints to the query processor. The extra hints are specified with a hint name * inside single quotation marks* .
324
+ Provides one or more extra hints to the query processor. The extra hints are specified with the hint name * inside single quotation marks* .
348
325
349
326
> [ !TIP]
350
327
> Hint names are case-insensitive.
0 commit comments