Skip to content

Commit

Permalink
Fix STUFF function in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Sep 13, 2023
1 parent c97d264 commit b6dad2f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docs/function/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ note that all functions names are case-insensitive.

### String functions

| Name | Paramter | Return | Description |
| ---------- | ------------ | ------ | ------------------------------------------------------------------- |
| LOWER | Text | Text | Return Text in lower case. |
| UPPER | Text | Text | Return Text in upper case. |
| REVERSE | Text | Text | Return a reversed string. |
| TRIM | Text | Text | Removes leading and trailing spaces from a string. |
| LTRIM | Text | Text | Removes leading spaces from a string. |
| RTRIM | Text | Text | Removes trailing spaces from a string. |
| LEN | Text | Number | Return the length of this string. |
| REPLICATE | Text, Number | Text | Return repeated a string a specified number of times. |
| SPACE | Number | Text | Returns a string of the specified number of space characters. |
| ASCII | Text | Number | Returns the ASCII value for the specific character. |
| LEFT | Text, Number | Text | Extracts a number of characters from a string (starting from left). |
| DATALENGTH | Text | Number | Returns the number of bytes used to represent an expression. |
| CHAR | Number | Text | Returns the character based on the ASCII code. |
| REPLACE | Text, Text, Text | Text | Replaces all occurrences of a substring within a string, with a new substring. |
| SUBSTRING | Text, Number, Number | Text | Extracts some characters from a string. |
| STUFF | Text, Number, Number, Text | Deletes a part of a string and then inserts another part into the string, starting at a specified position. |
| RIGHT | Text, Number | Text | Extracts a number of characters from a string (starting from right).|
| TRANSLATE | Text, Text, Text, | Text | Returns the string from the first argument after the characters specified in the second argument are translated into the characters specified in the third argument. |
| Name | Paramter | Return | Description |
| ---------- | -------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| LOWER | Text | Text | Return Text in lower case. |
| UPPER | Text | Text | Return Text in upper case. |
| REVERSE | Text | Text | Return a reversed string. |
| TRIM | Text | Text | Removes leading and trailing spaces from a string. |
| LTRIM | Text | Text | Removes leading spaces from a string. |
| RTRIM | Text | Text | Removes trailing spaces from a string. |
| LEN | Text | Number | Return the length of this string. |
| REPLICATE | Text, Number | Text | Return repeated a string a specified number of times. |
| SPACE | Number | Text | Returns a string of the specified number of space characters. |
| ASCII | Text | Number | Returns the ASCII value for the specific character. |
| LEFT | Text, Number | Text | Extracts a number of characters from a string (starting from left). |
| DATALENGTH | Text | Number | Returns the number of bytes used to represent an expression. |
| CHAR | Number | Text | Returns the character based on the ASCII code. |
| REPLACE | Text, Text, Text | Text | Replaces all occurrences of a substring within a string, with a new substring. |
| SUBSTRING | Text, Number, Number | Text | Extracts some characters from a string. |
| STUFF | Text, Number, Number, Text | Text | Deletes a part of a string and then inserts another part into the string, starting at a specified position. |
| RIGHT | Text, Number | Text | Extracts a number of characters from a string (starting from right). |
| TRANSLATE | Text, Text, Text, | Text | Returns the string from the first argument after the characters specified in the second argument are translated into the characters specified in the third argument. |
### String functions samples

```sql
Expand Down

0 comments on commit b6dad2f

Please sign in to comment.