Teradata - Trim Leading and Trailing blank spaces
- Siddeshwar S
- Sep 6, 2017
- 1 min read
Suppose the data is stored as below in one of the columns of a table

We can Trim Leading and Trailing blank spaces in a column by using the below funcition Select Distinct TRIM(BOTH ' ' FROM ColumnName) from DatabaseName.TableName;

Comments