You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is a literal, variable, or function call of any non-LOB character type (`nvarchar`, `varchar`, `nchar`, or `char`) containing characters that should be removed. `nvarchar(max)` and `varchar(max)` types aren't allowed.
47
+
#### *characters*
48
+
49
+
A literal, variable, or function call of any non-LOB character type (`nvarchar`, `varchar`, `nchar`, or `char`) containing characters that should be removed. `nvarchar(max)` and `varchar(max)` types aren't allowed.
50
+
51
+
#### *string*
46
52
47
-
string
48
-
Is an expression of any character type (`nvarchar`, `varchar`, `nchar`, or `char`) where characters should be removed.
53
+
An expression of any character type (`nvarchar`, `varchar`, `nchar`, or `char`) where characters should be removed.
49
54
50
-
## Return Types
55
+
## Return types
51
56
52
57
Returns a character expression with a type of string argument where the space character `char(32)` or other specified characters are removed from both sides. Returns `NULL` if input string is `NULL`.
53
58
@@ -57,7 +62,7 @@ By default, the `TRIM` function removes the space character from both the beginn
57
62
58
63
## Examples
59
64
60
-
### A. Removes the space character from both sides of string
65
+
### A. Remove the space character from both sides of string
61
66
62
67
The following example removes spaces from before and after the word `test`.
63
68
@@ -67,11 +72,11 @@ SELECT TRIM( ' test ') AS Result;
0 commit comments