![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 02 May 2003 @ 20:28:18 GMT
Nick You might try the following First split the incoming field into three pieces like so
.FIELD IN_PIECE_pt1 * CHAR(05)
.FILLER * CHAR(01)
.FILLER IN_PIECE_pt2 * CHAR(06)
Then in the insert specify a concatenation of the fields
:IN_PIECE_pt1 || :IN_PIECE_pt2
OR you could just do a substring of the input value (I called it IN_VALUE)
substr(:IN_VALUE, 1,5) || substring(:IN_VALUE, 7, 6)
Dara
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||