![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 24 May 2002 @ 15:38:41 GMT
Actually, it is stored as varchar (so no trailing blanks) but you put me in the right direction, this modification to your suggestion works...
substr('00000000000000000000', 1, 20-characters(first_acct_nbr)) || (first_acct_nbr)
Thanks !
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||