16.20 - Example: Concatenating Last Name With First Name - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

Change the SELECT and the separator to obtain last and first names:

   SELECT lname||', '||fname 
   FROM names 
   ORDER BY lname;

The result is:

   ((lname||', ')||fname) 
   ----------------------
   Brown, Alan 
   Kanieski, Carol 
   Ryan, Loretta 
   Villegas, Arnando