Skip to content

Commit 26ae692

Browse files
committed
Move SQL Server Hints in separate file
1 parent 4fda730 commit 26ae692

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Headers:
3737
- [SQL Server Web Resources](#sql-server-web-resources)
3838
- [BIML Resources and Bloggers](#biml-resources-and-bloggers)
3939
- [SQL Server Sample Databases and Datasets](#sql-server-sample-databases-and-datasets)
40-
- [Microsoft Transact-SQL Hints](#microsoft-transact-sql-hints)
4140
- [PowerShell and SQL Server](#powershell-and-sql-server)
4241
- [TSQL Format Code](#tsql-format-code)
4342
- [SQL Server Test Data Generation](#sql-server-test-data-generation)
@@ -48,6 +47,7 @@ Headers:
4847
## Repo Folders and Files
4948
- [SQL Server Data Types](/SQL%20Server%20Data%20Types.md)
5049
- [SQL Server Edition](/SQL%20Server%20Edition.md)
50+
- [SQL Server Hints](/SQL%20Server%Hints.md)
5151
- [SQL Server Name Convention and T-SQL Programming Style](/SQL%20Server%20Name%20Convention%20and%20T-SQL%20Programming%20Style.md)
5252
- [SQL Server Licensing](/SQL%20Server%20Licensing.md)
5353
- [SQL Server People](/SQL%20Server%20People.md 'Most Valuable SQL Server professionals')
@@ -387,14 +387,6 @@ Alternative download link for some sample databases: http://bit.ly/ya-ssk
387387
[*Back to top*](#header03)
388388

389389

390-
## [Microsoft Transact-SQL Hints](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql)
391-
- [Transact-SQL Join Hints](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-join)
392-
- [Transact-SQL Table Hints](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table)
393-
- [Transact-SQL Query Hints](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-query)
394-
395-
[*Back to top*](#header04)
396-
397-
398390
## PowerShell and SQL Server
399391
- [SQL Server & Windows Documentation Using Windows PowerShell](https://sqlpowerdoc.codeplex.com/) (by Kendal Vandyke)
400392
- [Stairway to SQL PowerShell](http://www.sqlservercentral.com/stairway/91327/) (by Ben Miller)

SQL Server Hints.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Microsoft Transact-SQL Hints
2+
3+
- [Microsoft Transact-SQL Hints](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql)
4+
- [Hints (Transact-SQL) - Join](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-join)
5+
- [Hints (Transact-SQL) - Table](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table)
6+
- [Hints (Transact-SQL) - Query](https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-query)
7+
8+
**Hint names are case-insensitive.**
9+
10+
**Some USE HINT hints may conflict with trace flags enabled at the global or session level, or database scoped configuration settings.
11+
In this case, the query level hint (USE HINT) always takes precedence.
12+
If a USE HINT conflicts with another query hint or a trace flag enabled at the query level (such as by QUERYTRACEON), SQL Server will generate an error when trying to execute the query.**
13+
14+
**Separating hints by spaces rather than commas is a deprecated feature: This feature will be removed in a future version of Microsoft SQL Server.
15+
Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.**

0 commit comments

Comments
 (0)