SQL Flow Field Guide

Table hints

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

per-table access method, locking or isolation override

What changes

Input
none
Output or change
none

Syntax at a glance

WITH ( <table_hint> [ [ , ] ...n ] )

Work example

A measured access or concurrency issue may call for a hint on one table reference.

Check the exact table scope and locking effect. Test with concurrent sessions and compare the actual plan.

Check your work Table hints. Only the named table reference changes behavior and the intended rows remain the same.

Open Microsoft Learn for full syntax, permissions, and details for your version.