TRIM(x,y)
TRIM(x,y)
is a string
function that removes all of the characters specified in the character
string y
from the start of the character string x
. The result
of TRIM(x,y)
, therefore, starts with the first
character that was not specified in y
.
Additionally, TRIM(x,y)
removes
the spaces from the end of the character string x
(code
attribute ASCII
, UNICODE
)
and then all characters specified in the character string y
.
The result of TRIM(x,y)
, therefore, ends with
the last character that was not specified in y
.
x, y |
Result of the TRIM(x,y) Function |
|---|---|
|
Spaces only (code
attribute |
|
|
SQL Tutorial, Changing Character Strings