Skip to content

Commit 2a63673

Browse files
committed
table header corrections
1 parent 95202d0 commit 2a63673

7 files changed

Lines changed: 46 additions & 29 deletions

docs/t-sql/statements/alter-table-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ For **SWITCH** restriction when using replication, see [Replicate Partitioned Ta
761761

762762
Nonclustered columnstore indexes built for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] 2016 CTP1, and for SQL Database before version V12 were in a read-only format. You must rebuild Nonclustered columnstore indexes to the current format (which is updatable) before any PARTITION operations can be run.
763763

764-
SET **(** FILESTREAM_ON = { *partition_scheme_name* | *filestream_filegroup_name* | **"**default**"** | **"**NULL**"** }**)**
764+
SET **(** FILESTREAM_ON = { *partition_scheme_name* \| *filestream_filegroup_name* \| **"**default**"** \| **"**NULL**"** }**)**
765765
**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ( [!INCLUDE[ssKatmai](../../includes/sskatmai-md.md)] and later). [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)]doesn't support `FILESTREAM`.
766766

767767
Specifies where FILESTREAM data is stored.

docs/t-sql/statements/create-availability-group-transact-sql.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ ms.assetid: a3d55df7-b4e4-43f3-a14b-056cba36ab98
2525
author: "MikeRayMSFT"
2626
ms.author: "mikeray"
2727
---
28+
2829
# CREATE AVAILABILITY GROUP (Transact-SQL)
30+
2931
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
3032

31-
Creates a new availability group, if the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is enabled for the [!INCLUDE[ssHADR](../../includes/sshadr-md.md)] feature.
33+
Creates a new availability group, if the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is enabled for the [!INCLUDE[ssHADR](../../includes/sshadr-md.md)] feature.
3234

3335
> [!IMPORTANT]
3436
> Execute CREATE AVAILABILITY GROUP on the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] that you intend to use as the initial primary replica of your new availability group. This server instance must reside on a Windows Server Failover Clustering (WSFC) node.
@@ -110,10 +112,11 @@ CREATE AVAILABILITY GROUP group_name
110112
[!INCLUDE[sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
111113

112114
## Arguments
113-
*group_name*
114-
Specifies the name of the new availability group. *group_name* must be a valid [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)][identifier](../../relational-databases/databases/database-identifiers.md), and it must be unique across all availability groups in the WSFC cluster. The maximum length for an availability group name is 128 characters.
115-
116-
AUTOMATED_BACKUP_PREFERENCE **=** { PRIMARY | SECONDARY_ONLY| SECONDARY | NONE }
115+
116+
*group_name*
117+
Specifies the name of the new availability group. *group_name* must be a valid [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)][identifier](../../relational-databases/databases/database-identifiers.md), and it must be unique across all availability groups in the WSFC cluster. The maximum length for an availability group name is 128 characters.
118+
119+
AUTOMATED_BACKUP_PREFERENCE **=** { PRIMARY \| SECONDARY_ONLY \| SECONDARY \| NONE }
117120
Specifies a preference about how a backup job should evaluate the primary replica when choosing where to perform backups. You can script a given backup job to take the automated backup preference into account. It is important to understand that the preference is not enforced by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], so it has no impact on ad-hoc backups.
118121

119122
The supported values are as follows:
@@ -139,7 +142,7 @@ CREATE AVAILABILITY GROUP group_name
139142
> [!NOTE]
140143
> To view the automated backup preference of an existing availability group, select the **automated_backup_preference** or **automated_backup_preference_desc** column of the [sys.availability_groups](../../relational-databases/system-catalog-views/sys-availability-groups-transact-sql.md) catalog view. Additionally, [sys.fn_hadr_backup_is_preferred_replica (Transact-SQL)](../../relational-databases/system-functions/sys-fn-hadr-backup-is-preferred-replica-transact-sql.md) can be used to determine the preferred backup replica. This function returns 1 for at least one of the replicas, even when `AUTOMATED_BACKUP_PREFERENCE = NONE`.
141144
142-
FAILURE_CONDITION_LEVEL **=** { 1 | 2 | **3** | 4 | 5 }
145+
FAILURE_CONDITION_LEVEL **=** { 1 \| 2 \| **3** \| 4 \| 5 }
143146
Specifies what failure conditions trigger an automatic failover for this availability group. FAILURE_CONDITION_LEVEL is set at the group level but is relevant only on availability replicas that are configured for synchronous-commit availability mode (AVAILABILITY_MODE **=** SYNCHRONOUS_COMMIT). Furthermore, failure conditions can trigger an automatic failover only if both the primary and secondary replicas are configured for automatic failover mode (FAILOVER_MODE **=** AUTOMATIC) and the secondary replica is currently synchronized with the primary replica.
144147

145148
The failure-condition levels (1-5) range from the least restrictive, level 1, to the most restrictive, level 5. A given condition level encompasses all the less restrictive levels. Thus, the strictest condition level, 5, includes the four less restrictive condition levels (1-4), level 4 includes levels 1-3, and so forth. The following table describes the failure-condition that corresponds to each level.

docs/t-sql/statements/create-database-encryption-key-transact-sql.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CREATE DATABASE ENCRYPTION KEY (Transact-SQL) | Microsoft Docs"
2+
title: CREATE DATABASE ENCRYPTION KEY (Transact-SQL)
33
ms.custom: ""
44
ms.date: "08/24/2016"
55
ms.prod: sql
@@ -29,7 +29,9 @@ author: VanMSFT
2929
ms.author: vanto
3030
monikerRange: ">=aps-pdw-2016||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current||=azure-sqldw-latest"
3131
---
32+
3233
# CREATE DATABASE ENCRYPTION KEY (Transact-SQL)
34+
3335
[!INCLUDE [sql-asdbmi-asa-pdw](../../includes/applies-to-version/sql-asdbmi-asa-pdw.md)]
3436

3537
Creates an encryption key that is used for transparently encrypting a database. For more information about transparent database encryption, see [Transparent Data Encryption (TDE)](../../relational-databases/security/encryption/transparent-data-encryption.md).
@@ -66,11 +68,13 @@ CREATE DATABASE ENCRYPTION KEY
6668
[!INCLUDE[sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
6769

6870
## Arguments
69-
WITH ALGORITHM = { AES_128 | AES_192 | AES_256 | TRIPLE_DES_3KEY }
70-
Specifies the encryption algorithm that is used for the encryption key.
71+
72+
WITH ALGORITHM = { AES_128 \| AES_192 \| AES_256 \| TRIPLE_DES_3KEY }
73+
Specifies the encryption algorithm that is used for the encryption key.
74+
7175
> [!NOTE]
72-
> Beginning with SQL Server 2016, all algorithms other than AES_128, AES_192, and AES_256 are deprecated.
73-
> To use older algorithms (not recommended) you must set the database to database compatibility level 120 or lower.
76+
> Beginning with SQL Server 2016, all algorithms other than AES_128, AES_192, and AES_256 are deprecated.
77+
> To use older algorithms (not recommended) you must set the database to database compatibility level 120 or lower.
7478
7579
ENCRYPTION BY SERVER CERTIFICATE Encryptor_Name
7680
Specifies the name of the encryptor used to encrypt the database encryption key.

docs/t-sql/statements/create-endpoint-transact-sql.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CREATE ENDPOINT (Transact-SQL) | Microsoft Docs"
2+
title: CREATE ENDPOINT (Transact-SQL)
33
ms.custom: ""
44
ms.date: "08/10/2017"
55
ms.prod: sql
@@ -32,7 +32,9 @@ ms.assetid: 6405e7ec-0b5b-4afd-9792-1bfa5a2491f6
3232
author: CarlRabeler
3333
ms.author: carlrab
3434
---
35+
3536
# CREATE ENDPOINT (Transact-SQL)
37+
3638
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
3739

3840
Creates endpoints and defines their properties, including the methods available to client applications. For related permissions information, see [GRANT Endpoint Permissions (Transact-SQL)](../../t-sql/statements/grant-endpoint-permissions-transact-sql.md).
@@ -165,21 +167,21 @@ FOR DATABASE_MIRRORING (
165167
166168
**\<authentication_options> ::=**
167169

168-
**WINDOWS** [ { NTLM | KERBEROS | **NEGOTIATE** } ]
170+
**WINDOWS** [ { NTLM \| KERBEROS \| **NEGOTIATE** } ]
169171
Specifies that the endpoint is to connect using Windows Authentication protocol to authenticate the endpoints. This is the default.
170172

171173
If you specify an authorization method (NTLM or KERBEROS), that method is always used as the authentication protocol. The default value, NEGOTIATE, causes the endpoint to use the Windows negotiation protocol to choose either NTLM or Kerberos.
172174

173175
CERTIFICATE *certificate_name*
174176
Specifies that the endpoint is to authenticate the connection using the certificate specified by *certificate_name* to establish identity for authorization. The far endpoint must have a certificate with the public key matching the private key of the specified certificate.
175177

176-
WINDOWS [ { NTLM | KERBEROS | **NEGOTIATE** } ] CERTIFICATE *certificate_name*
178+
WINDOWS [ { NTLM \| KERBEROS \| **NEGOTIATE** } ] CERTIFICATE *certificate_name*
177179
Specifies that endpoint is to try to connect by using Windows Authentication and, if that attempt fails, to then try using the specified certificate.
178180

179-
CERTIFICATE *certificate_name* WINDOWS [ { NTLM | KERBEROS | **NEGOTIATE** } ]
181+
CERTIFICATE *certificate_name* WINDOWS [ { NTLM \| KERBEROS \| **NEGOTIATE** } ]
180182
Specifies that endpoint is to try to connect by using the specified certificate and, if that attempt fails, to then try using Windows Authentication.
181183

182-
ENCRYPTION = { DISABLED | SUPPORTED | **REQUIRED** } [ALGORITHM { **AES** | RC4 | AES RC4 | RC4 AES } ]
184+
ENCRYPTION = { DISABLED \| SUPPORTED \| **REQUIRED** } [ALGORITHM { **AES** \| RC4 \| AES RC4 \| RC4 AES } ]
183185
Specifies whether encryption is used in the process. The default is REQUIRED.
184186

185187
DISABLED

docs/t-sql/statements/create-procedure-transact-sql.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CREATE PROCEDURE (Transact-SQL) | Microsoft Docs"
2+
title: CREATE PROCEDURE (Transact-SQL)
33
ms.custom: ""
44
ms.date: "09/06/2017"
55
ms.prod: sql
@@ -47,6 +47,7 @@ author: CarlRabeler
4747
ms.author: carlrab
4848
monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
4949
---
50+
5051
# CREATE PROCEDURE (Transact-SQL)
5152

5253
[!INCLUDE [sql-asdb-asdbmi-asa-pdw](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)]
@@ -413,13 +414,16 @@ The CREATE PROCEDURE statement cannot be combined with other [!INCLUDE[tsql](../
413414

414415
The following statements cannot be used anywhere in the body of a stored procedure.
415416

416-
||||
417-
|-|-|-|
418-
|CREATE AGGREGATE|CREATE SCHEMA|SET SHOWPLAN_TEXT|
419-
|CREATE DEFAULT|CREATE or ALTER TRIGGER|SET SHOWPLAN_XML|
420-
|CREATE or ALTER FUNCTION|CREATE or ALTER VIEW|USE *database_name*|
421-
|CREATE or ALTER PROCEDURE|SET PARSEONLY||
422-
|CREATE RULE|SET SHOWPLAN_ALL||
417+
| CREATE | SET | USE |
418+
|--------|-----|-----|
419+
| CREATE AGGREGATE | SET SHOWPLAN_TEXT | USE *database_name*|
420+
| CREATE DEFAULT | SET SHOWPLAN_XML
421+
| CREATE RULE | SET PARSEONLY |
422+
| CREATE SCHEMA | SET SHOWPLAN_ALL |
423+
| CREATE or ALTER TRIGGER |
424+
| CREATE or ALTER FUNCTION |
425+
| CREATE or ALTER PROCEDURE |
426+
| CREATE or ALTER VIEW |
423427

424428
A procedure can reference tables that do not yet exist. At creation time, only syntax checking is performed. The procedure is not compiled until it is executed for the first time. Only during compilation are all objects referenced in the procedure resolved. Therefore, a syntactically correct procedure that references tables that do not exist can be created successfully; however, the procedure fails at execution time if the referenced tables do not exist.
425429

docs/t-sql/statements/create-sequence-transact-sql.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CREATE SEQUENCE (Transact-SQL) | Microsoft Docs"
2+
title: CREATE SEQUENCE (Transact-SQL)
33
ms.custom: ""
44
ms.date: "04/11/2017"
55
ms.prod: sql
@@ -23,7 +23,9 @@ ms.assetid: 419f907b-8a72-4d6c-80cb-301df44c24c1
2323
author: CarlRabeler
2424
ms.author: carlrab
2525
---
26+
2627
# CREATE SEQUENCE (Transact-SQL)
28+
2729
[!INCLUDE [SQL Server Azure SQL Database ](../../includes/applies-to-version/sql-asdb.md)]
2830

2931
Creates a sequence object and specifies its properties. A sequence is a user-defined schema bound object that generates a sequence of numeric values according to the specification with which the sequence was created. The sequence of numeric values is generated in an ascending or descending order at a defined interval and can be configured to restart (cycle) when exhausted. Sequences, unlike identity columns, are not associated with specific tables. Applications refer to a sequence object to retrieve its next value. The relationship between sequences and tables is controlled by the application. User applications can reference a sequence object and coordinate the values across multiple rows and tables.
@@ -236,7 +238,7 @@ SELECT * FROM sys.sequences WHERE name = 'TestSequence' ;
236238

237239
A partial list of the output demonstrates the default values.
238240

239-
|||
241+
| Output | Default values|
240242
|-|-|
241243
|`start_value`|`-9223372036854775808`|
242244
|`increment`|`1`|

docs/t-sql/statements/create-server-audit-transact-sql.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CREATE SERVER AUDIT (Transact-SQL) | Microsoft Docs"
2+
title: CREATE SERVER AUDIT (Transact-SQL)
33
ms.custom: ""
44
ms.date: "01/07/2019"
55
ms.prod: sql
@@ -23,7 +23,9 @@ author: VanMSFT
2323
ms.author: vanto
2424
monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017"
2525
---
26+
2627
# CREATE SERVER AUDIT (Transact-SQL)
28+
2729
[!INCLUDE [SQL Server SQL MI](../../includes/applies-to-version/sql-asdbmi.md)]
2830

2931
Creates a server audit object using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Audit. For more information, see [SQL Server Audit &#40;Database Engine&#41;](../../relational-databases/security/auditing/sql-server-audit-database-engine.md).
@@ -70,7 +72,7 @@ CREATE SERVER AUDIT audit_name
7072
[!INCLUDE[sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
7173

7274
## Arguments
73-
TO { FILE | APPLICATION_LOG | SECURITY_LOG | URL | EXTERNAL_MONITOR }
75+
TO { FILE \| APPLICATION_LOG \| SECURITY_LOG \| URL \| EXTERNAL_MONITOR }
7476
Determines the location of the audit target. The options are a binary file, The Windows Application log, or the Windows Security log. [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] cannot write to the Windows Security log without configuring additional settings in Windows. For more information, see [Write SQL Server Audit Events to the Security Log](../../relational-databases/security/auditing/write-sql-server-audit-events-to-the-security-log.md).
7577

7678
> [!IMPORTANT]

0 commit comments

Comments
 (0)