I am generating a fixed width file and I need output based on the following requirement
'86' || mmddyy || '20'.
The mmddyy should correspond to the party_acct_relshp_snap_date value column as getting from source and the date is coming as 2013-11-21.
I tried the following way:
Code: Select all
'86': lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[3,4]:lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[6,7]:lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[9,10]:'20'
8613-111-2
Please help me so that I get only mmddyy from party_acct_relshp_snap_date column.