Skip to content

Commit a66c0db

Browse files
committed
Update formatting
1 parent 331fc4e commit a66c0db

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

docs/t-sql/functions/ltrim-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "LTRIM (Transact-SQL)"
44
author: markingmyname
55
ms.author: maghan
66
ms.reviewer: randolphwest
7-
ms.date: 08/22/2022
7+
ms.date: 09/14/2022
88
ms.prod: sql
99
ms.technology: t-sql
1010
ms.topic: reference
@@ -48,7 +48,7 @@ LTRIM ( character_expression )
4848
Syntax for [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and later:
4949

5050
> [!IMPORTANT]
51-
> You will need your database compatibility level set to 160 to use the optional `characters` argument.
51+
> You will need your database compatibility level set to 160 to use the optional *characters* argument.
5252
5353
```syntaxsql
5454
LTRIM ( character_expression , [ characters ] )
@@ -133,7 +133,7 @@ Original string Without spaces
133133
### C. Remove specified characters from the beginning of a string
134134

135135
> [!IMPORTANT]
136-
> You will need your database compatibility level set to 160 to use the optional `characters` argument.
136+
> You will need your database compatibility level set to 160 to use the optional *characters* argument.
137137
138138
The following example removes the characters `123` from the beginning of the `123abc.` string.
139139

docs/t-sql/functions/rtrim-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "RTRIM (Transact-SQL)"
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: randolphwest
7-
ms.date: 08/29/2022
7+
ms.date: 09/14/2022
88
ms.prod: sql
99
ms.prod_service: "database-engine, sql-database, synapse-analytics, pdw"
1010
ms.technology: t-sql
@@ -47,7 +47,7 @@ RTRIM ( character_expression )
4747
Syntax for [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and later:
4848

4949
> [!IMPORTANT]
50-
> You will need your database compatibility level set to 160 to use the optional `characters` argument.
50+
> You will need your database compatibility level set to 160 to use the optional *characters* argument.
5151
5252
```syntaxsql
5353
RTRIM ( character_expression , [ characters ] )
@@ -129,7 +129,7 @@ Four spaces are after the period in this sentence. Next string.
129129
### C. Remove specified characters from the end of a string
130130

131131
> [!IMPORTANT]
132-
> You will need your database compatibility level set to 160 to use the optional `characters` argument.
132+
> You will need your database compatibility level set to 160 to use the optional *characters* argument.
133133
134134
The following example removes the characters `abc.` from the end of the `.123abc.` string.
135135

docs/t-sql/functions/trim-transact-sql.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Removes the space character or other specified characters from the
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: randolphwest
7-
ms.date: 08/22/2022
7+
ms.date: 09/14/2022
88
ms.prod: sql
99
ms.prod_service: "database-engine, sql-database"
1010
ms.technology: t-sql
@@ -44,7 +44,7 @@ TRIM ( [ characters FROM ] string )
4444
Syntax for [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and later:
4545

4646
> [!IMPORTANT]
47-
> You will need your database compatibility level set to 160 to use the LEADING, TRAILING, or BOTH keywords.
47+
> You will need your database compatibility level set to 160 to use the `LEADING`, `TRAILING`, or `BOTH` keywords.
4848
4949
```syntaxsql
5050
TRIM ( [ LEADING | TRAILING | BOTH ] [characters FROM ] string )
@@ -139,8 +139,9 @@ In this example, only the trailing period and spaces from before `#` and after t
139139
::: moniker range=">=sql-server-ver16 || >=sql-server-linux-ver16"
140140

141141
### C. Remove specified characters from the start of a string
142+
142143
> [!IMPORTANT]
143-
> You will need your database compatibility level set to 160 to use the LEADING, TRAILING, or BOTH keywords.
144+
> You will need your database compatibility level set to 160 to use the `LEADING`, `TRAILING`, or `BOTH` keywords.
144145
145146
The following example removes the leading `.` from the start of the string before the word `test`.
146147

@@ -155,8 +156,9 @@ SELECT TRIM(LEADING '.,! ' FROM ' .# test .') AS Result;
155156
```
156157

157158
### D. Remove specified characters from the end of a string
159+
158160
> [!IMPORTANT]
159-
> You will need your database compatibility level set to 160 to use the LEADING, TRAILING, or BOTH keywords.
161+
> You will need your database compatibility level set to 160 to use the `LEADING`, `TRAILING`, or `BOTH` keywords.
160162
161163
The following example removes the trailing `.` from the end of the string after the word `test`.
162164

@@ -171,8 +173,9 @@ SELECT TRIM(TRAILING '.,! ' FROM ' .# test .') AS Result;
171173
```
172174

173175
### E. Remove specified characters from the beginning and end of a string
176+
174177
> [!IMPORTANT]
175-
> You will need your database compatibility level set to 160 to use the LEADING, TRAILING, or BOTH keywords.
178+
> You will need your database compatibility level set to 160 to use the `LEADING`, `TRAILING`, or `BOTH` keywords.
176179
177180
The following example removes the characters `123` from the beginning and end of the string `123abc123`.
178181

0 commit comments

Comments
 (0)