Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Trimming Trailing spaces in Teradata

In Teradata, you can trim the TRAILING spaces like below.

Syntax:
  1. SELECT TRIM(TRAILING FROM 'string' or number)


Example:
  1. SELECT TRIM(TRAILING FROM ' asdfas ')||'a'


Output:
asdfasa