Skip to content

Commit f95270f

Browse files
committed
fixing toc, and formatting, and other random things (devo 1394998)
1 parent 94651ad commit f95270f

7 files changed

Lines changed: 39 additions & 28 deletions

File tree

‎docs/breadcrumb/toc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@
653653
- name: Extended events
654654
href: /sql/relational-databases/extended-events/
655655
homepage: /sql/relational-databases/extended-events/extended-events
656-
- name: Graphs
656+
- name: SQL Graph
657657
href: /sql/relational-databases/graphs/
658658
homepage: /sql/relational-databases/graphs/sql-graph-overview
659659
- name: Import and export

‎docs/database-engine/install-windows/toc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
href: supported-version-and-edition-upgrades.md
1010
- name: Prepare for upgrade by running Data Migration Assistant
1111
href: prepare-for-upgrade-by-running-data-migration-assistant.md
12-
- name: Are you upgrading from SQL Server 2005?
12+
- name: Upgrading from SQL 2005, 2008, or 2008 R2?
1313
href: are-you-upgrading-from-sql-server-2005.md
1414
- name: Upgrade Analysis Services
1515
href: upgrade-analysis-services.md

‎docs/relational-databases/toc.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
href: ../relational-databases/collations/collation-and-unicode-support.md
1515
- name: Databases +
1616
href: ../relational-databases/databases/databases.md
17-
- name: Graphs +
17+
- name: SQL Graph +
1818
href: ../relational-databases/graphs/sql-graph-overview.md
1919
- name: Hierarchical Data
2020
href: hierarchical-data-sql-server.md
@@ -108,6 +108,8 @@
108108
items:
109109
- name: Manage
110110
items:
111+
- name: SQL Server Utility +
112+
href: ..relational-databases/manage/sql-server-utility-features-and-tasks.md
111113
- name: Administer Multiple Servers Using Central Management Servers
112114
href: administer-multiple-servers-using-central-management-servers.md
113115
- name: Configuration Manager
@@ -122,6 +124,8 @@
122124
href: ../relational-databases/maintenance-plans/maintenance-plans.md
123125
- name: Policy-based management +
124126
href: ../relational-databases/policy-based-management/administer-servers-by-using-policy-based-management.md
127+
- name: Transaction log management +
128+
href: ../relational-databases/logs/log-file-viewer.md
125129
- name: Monitor
126130
items:
127131
- name: Data collection +

‎docs/sql-server/applies-to-includes.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ monikerRange: ">= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest |
1414

1515
# SQL Server include files for versioning and applies-to
1616

17-
References in the documentation can be easily modified without changing the actual text of individual articles by using include files in Markdown. There are three types of include files in the SQL content world: SQL version, applies-to, and referential text. **SQL version includes** are used to indicate the version of SQL being discussed, such as SQL Server 2016 or 2017. The **applies-to includes** indicate what SQL products and services the document applies to, such as SQL Server on Linux or Azure SQL Database. **Referential text includes** don't fall in the other two categories, such as the "Get Help" include, a list of links that customers can use to get help with SQL.
17+
References in the documentation can be easily modified without changing the actual text of individual articles by using include files in Markdown. There are three types of include files in the SQL content world: SQL version, applies-to, and referential text. **SQL Server version** include files are used to indicate the version of SQL being discussed, such as SQL Server 2016 or 2017. The **applies-to** include files indicate what SQL products and services the document applies to, such as SQL Server on Linux or Azure SQL Database. **Referential text** include files don't fall in the other two categories, such as the "Get Help" include, a list of links that customers can use to get help with SQL Server.
1818

19-
This article is meant to be used as a reference point for just the first two types of includes. You can browse the complete list of include files in the [sql-docs repository](https://github.com/MicrosoftDocs/sql-docs/tree/live/docs/includes).
19+
This article is meant to be used as a reference point for just the first two types of include files. You can browse the complete list of include files in the [sql-docs repository](https://github.com/MicrosoftDocs/sql-docs/tree/live/docs/includes).
2020

21-
## SQL Server version includes
21+
## SQL Server version include files
2222

2323
SQL Content writers frequently need to include the name of the product and version of SQL Server. This way, if something changes in the name, the include file is updated instead of manually updating the value in every single article. These include files are used as placeholders for product names but have not been consistently used in all SQL documentation. SQL Server vNext refers to a future release of SQL that does not yet have a version number and is the exception to this.
2424

@@ -36,9 +36,9 @@ SQL Content writers frequently need to include the name of the product and versi
3636
| SQL vNext | sssqlv15-md.md | `[!INCLUDE[sssqlv15-md](../includes/sssqlv15-md.md)]` | SQL Server vNext |
3737
|   |   |   |   |
3838

39-
## SQL Server (non-version-specific)
39+
## SQL Server Applies-to (non-version-specific)
4040

41-
These applies-to includes omit the version of SQL Server.
41+
These applies-to include files omit the version of SQL Server.
4242

4343
| File Name| Markdown Example |Image|
4444
| :-------------| :----------| :-------------------|
@@ -58,9 +58,9 @@ These applies-to includes omit the version of SQL Server.
5858
| appliesto-xx-xxxx-asdw-xxx-md.md | `[!INCLUDE[appliesto-xx-xxxx-asdw-xxx-md.md](../includes/appliesto-xx-xxxx-asdw-xxx-md.md)]` | [!INCLUDE[appliesto-xx-xxxx-asdw-xxx-md.md](../includes/appliesto-xx-xxxx-asdw-xxx-md.md)] |
5959
|  |   |   |
6060

61-
## SQL Server (version-specific)
61+
## SQL Server Applies-to (version-specific)
6262

63-
These applies-to includes specify which versions of SQL the documentation applies to.
63+
These applies-to include files specify which versions of SQL the documentation applies to.
6464

6565
File Name| Markdown Example |Image|
6666
| :-------------| :----------| :-------------------|
@@ -102,9 +102,9 @@ These applies-to includes specify which versions of SQL the documentation applie
102102
| tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md | `[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md](../includes/tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md)]` | [!INCLUDE[tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md](../includes/tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md)] |
103103
|  |   |   |
104104

105-
## Analysis Services
105+
## Analysis Services Applies-to
106106

107-
These applies-to includes are used with Analysis Services documentation.
107+
These applies-to include files are used with Analysis Services documentation.
108108

109109
| File Name| Markdown Example |Image|
110110
| :-------------| :----------| :-------------------|
@@ -119,9 +119,9 @@ These applies-to includes are used with Analysis Services documentation.
119119
| ssas-appliesto-sqlas-all-aas.md | `[!INCLUDE[ssas-appliesto-sqlas-all-aas.md](../includes/ssas-appliesto-sqlas-all-aas.md)]` | [!INCLUDE[ssas-appliesto-sqlas-all-aas.md](../includes/ssas-appliesto-sqlas-all-aas.md)] |
120120
|  |   |   |
121121

122-
## Reporting Services
122+
## Reporting Services Applies-to
123123

124-
These applies-to includes are used with Reporting Services documentation.
124+
These applies-to include files are used with Reporting Services documentation.
125125

126126
| File Name| Markdown Example |Image|
127127
| :-------------| :----------| :-------------------|

‎docs/ssms/tutorials/connect-query-sql-server.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ If you don't have access to a SQL Server instance, select your platform from the
6161
### Examples of successful connections
6262
To verify that your SQL Server connection succeeded, expand and explore the objects within **Object Explorer**. These objects will be different depending on the type of server you're connected to.
6363

64-
- Connecting to an on-prem SQL server - in this case NODE5\SQL2016ST:
65-
![Connecting to an on-prem server](media/connect-query-sql-server/connect-on-prem.png)
64+
- Connecting to an on-premises SQL server - in this case NODE5\SQL2016ST:
65+
![Connecting to an on-premises server](media/connect-query-sql-server/connect-on-prem.png)
6666

6767
- Connecting to SQL Azure DB - in this case msftestserver.database.windows.net:
6868
![Connecting to a SQL Azure DB](media/connect-query-sql-server/connect-sql-azure.png)
6969

7070
>[!NOTE]
71-
> In this tutorial, you previously used *Windows Authentication* to connect to your on-prem SQL server, but this method is not supported for SQL Azure DB. As such, this image shows using SQL Authentication to connect to the SQL Azure DB. For more information, see [SQL on-prem authentication](../../relational-databases/security/choose-an-authentication-mode.md) and [SQL Azure authentication](https://docs.microsoft.com/azure/sql-database/sql-database-security-overview#control-access).
71+
> In this tutorial, you previously used *Windows Authentication* to connect to your on-premises SQL server, but this method is not supported for SQL Azure DB. As such, this image shows using SQL Authentication to connect to the SQL Azure DB. For more information, see [SQL on-premises authentication](../../relational-databases/security/choose-an-authentication-mode.md) and [SQL Azure authentication](https://docs.microsoft.com/azure/sql-database/sql-database-security-overview#control-access).
7272
7373
## Create a database
7474
Create a database named TutorialDB by doing the following:

‎docs/t-sql/functions/string-split-transact-sql.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ FROM Product
120120
|2|LL Headset|bike|
121121
|3|HL Mountain Frame|bike|
122122
|3|HL Mountain Frame|mountain|
123+
124+
>[!NOTE]
125+
> The order of the output may vary as the order is _not_ guaranteed to match the order of the substrings in the input string.
123126
124127
### C. Aggregation by values
125128
Users must create a report that shows the number of products per each tag, ordered by number of products, and to filter only the tags with more than two products.

‎docs/t-sql/functions/translate-transact-sql.md‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,8 @@ Returns a character expression of the same data type as `inputString` where char
4646

4747
`TRANSLATE` will return an error if *characters* and *translations* expressions have different lengths. `TRANSLATE` will return NULL if any of the arguements are NULL.
4848

49-
The behavior of the `TRANSLATE` function is similar to using multiple [REPLACE](../../t-sql/functions/replace-transact-sql.md) functions. `TRANSLATE` does not, however, replace a character more than once. This is disimilar to multiple `REPLACE` functions, as each use would replace all relevant characters. For example:
49+
The behavior of the `TRANSLATE` function is similar to using multiple [REPLACE](../../t-sql/functions/replace-transact-sql.md) functions. `TRANSLATE` does not, however, replace a character more than once. This is dissimilar to multiple `REPLACE` functions, as each use would replace all relevant characters.
5050

51-
```sql
52-
SELECT TRANSLATE('abcdef','abc','bcd') AS Translated,
53-
REPLACE(REPLACE(REPLACE('abcdef','a','b'),'b','c'),'c','d') AS Replaced;
54-
```
55-
56-
The results are:
57-
58-
| Translated | Replaced |
59-
| ---------|--------- |
60-
| bcddef | ddddef |
6151

6252
`TRANSLATE` is always SC collation aware.
6353

@@ -117,6 +107,20 @@ SELECT TRANSLATE('[137.4, 72.3]' , '[,]', '( )') AS Point,
117107
(137.4 72.3) |[137.4,72.3] |
118108

119109

110+
### C. Use the TRANSLATE function
111+
112+
```sql
113+
SELECT TRANSLATE('abcdef','abc','bcd') AS Translated,
114+
REPLACE(REPLACE(REPLACE('abcdef','a','b'),'b','c'),'c','d') AS Replaced;
115+
```
116+
117+
The results are:
118+
119+
| Translated | Replaced |
120+
| ---------|--------- |
121+
| bcddef | ddddef |
122+
123+
120124
## See Also
121125
[CONCAT (Transact-SQL)](../../t-sql/functions/concat-transact-sql.md)
122126
[CONCAT_WS (Transact-SQL)](../../t-sql/functions/concat-ws-transact-sql.md)

0 commit comments

Comments
 (0)