SELECT TRIM(' text '); SELECT TRIM(BOTH 'x' FROM 'xtextx');
TRIM([LEADING | TRAILING | BOTH] [characters] FROM string)Code language: SQL (Structured Query Language) (sql)