Archives of the TeradataForum
Message Posted: Wed, 12 Jun 2002 @ 10:46:51 GMT
The 'trim' function will convert integers to characters and remove any leading spaces.
I'm assuming you want the first 4 digits of the integer. In your example below (if you had casted the expression as a character), you would have received only 1 character starting at the 4th position from the left.
Hope this helps,
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|