@@ -4,7 +4,7 @@ description: "Query hints specify that the indicated hints are used in the scope
44author : rwestMSFT
55ms.author : randolphwest
66ms.reviewer : wiassaf
7- ms.date : 03/26 /2025
7+ ms.date : 04/15 /2025
88ms.service : sql
99ms.subservice : t-sql
1010ms.topic : reference
@@ -106,7 +106,7 @@ Query hints specify that the indicated hints are used in the scope of a query. T
106106 | QUERYTRACEON <integer_value>
107107 | RECOMPILE
108108 | ROBUST PLAN
109- | USE HINT ( <use_hint_name> [ , ...n ] )
109+ | USE HINT ( 'hint_name' [ , ...n ] )
110110 | USE PLAN N'<xml_plan>'
111111 | TABLE HINT ( <exposed_object_name> [ , <table_hint> [ [ , ] ...n ] ] )
112112 | 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
135135 | UPDLOCK
136136 | XLOCK
137137}
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- }
161138```
162139
163140## Arguments
@@ -344,7 +321,7 @@ If such a plan isn't possible, the Query Optimizer returns an error instead of d
344321
345322** 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 )] .
346323
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* .
348325
349326> [ !TIP]
350327> Hint names are case-insensitive.
0 commit comments