Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 227ee41

Browse files
authored
added sql colorizer
1 parent 6efda7e commit 227ee41

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RIGHT ( character_expression , integer_expression )
6060
### A: Using RIGHT with a column
6161
The following example returns the five rightmost characters of the first name for each person in the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal-md.md)] database.
6262

63-
```
63+
```sql
6464
SELECT RIGHT(FirstName, 5) AS 'First Name'
6565
FROM Person.Person
6666
WHERE BusinessEntityID < 5
@@ -87,7 +87,7 @@ Rob
8787
### B. Using RIGHT with a column
8888
The following example returns the five rightmost characters of each last name in the `DimEmployee` table.
8989

90-
```
90+
```sql
9191
-- Uses AdventureWorks
9292

9393
SELECT RIGHT(LastName, 5) AS Name
@@ -109,7 +109,7 @@ lters
109109
### C. Using RIGHT with a character string
110110
The following example uses `RIGHT` to return the two rightmost characters of the character string `abcdefg`.
111111

112-
```
112+
```sql
113113
SELECT RIGHT('abcdefg', 2);
114114
```
115115

0 commit comments

Comments
 (0)