--- title: "Hints (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "08/09/2017" ms.prod: sql ms.prod_service: "sql-database" ms.reviewer: "" ms.technology: t-sql ms.topic: "language-reference" dev_langs: - "TSQL" helpviewer_keywords: - "query optimizer [SQL Server], hints" - "hints [SQL Server], about hints" - "SELECT statement [SQL Server], hints" - "hints [SQL Server]" - "INSERT statement [SQL Server], hints" - "UPDATE statement [SQL Server], hints" - "DELETE statement [SQL Server], hints" ms.assetid: 99412475-b0df-4264-9938-33a0b302b41a author: VanMSFT ms.author: vanto --- # Hints (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2012-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2012-xxxx-xxxx-xxx-md.md)] Hints are options or strategies specified for enforcement by the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] query processor on SELECT, INSERT, UPDATE, or DELETE statements. The hints override any execution plan the query optimizer might select for a query. > [!CAUTION] > Because the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] query optimizer typically selects the best execution plan for a query, we recommend that \, \, and \ be used only as a last resort by experienced developers and database administrators. The following hints are described in this section: - [Join Hints](../../t-sql/queries/hints-transact-sql-join.md) - [Query Hints](../../t-sql/queries/hints-transact-sql-query.md) - [Table Hint](../../t-sql/queries/hints-transact-sql-table.md)