LTRIM
LTRIM (왼쪽 공백 제거)
LTRIM 함수는 문자열 왼쪽의 공백을 제거해요.
출처: 문서
본문
LTRIM(col) 형식으로 사용해요.
사용 예시
SELECT ' Pinot with spaces ' AS notTrimmed,
ltrim(' Pinot with spaces ') AS trimmed
FROM ignoreMe
| notTrimmed | trimmed |
|---|---|
" Pinot with spaces " |
"Pinot with spaces " |