SQL TRIM function is used for removing spaces and characters from both ends of the string. The TRIM() function removes the space character OR other specified characters from the start or end of a string. By default, the TRIM() function removes leading and trailing spaces from a string.
The syntax of the TRIM() Function is the following.
TRIM ([removed_characters FROM] input_string)
See the parameters of the TRIM() function.
#sql #sql trim