|
Archives of the TeradataForumMessage Posted: Wed, 12 Jun 2002 @ 10:46:51 GMT
Rene, Try this: Select * 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, Claybourne Barrineau
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||