![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 02 Jul 2004 @ 16:02:29 GMT
I'm not sure about using a literal value, but this will work on a column name value:
select substr(col_name,chars(trim(col_name)) ,chars(trim(col_name))-1)
from tablename;
Fred Keiser
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||