All pages
Powered by GitBook
1 of 1

Loading...

trim

This section contains reference documentation for the trim function.

trim spaces from both side of the string

Signature

TRIM(col)

Usage Examples

notTrimmed
trimmed
SELECT ' Pinot with spaces  ' AS notTrimmed,
       trim(' Pinot with spaces ') AS trimmed
FROM ignoreMe

" Pinot with spaces "

"Pinot with spaces"