![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 17 Jun 2004 @ 11:55:47 GMT
Assuming the character string ends with the 4 digit date wanted....
sel substr(columnname,length(columnname)-3,4)
from tablename;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||