Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Formatting date in Multiload dd-mmm-yy - response (3) by dnoeth

$
0
0

This behaviour is defined by the "century break" setting, it can only be changed on a system level by your DBA using dbscontrol.
Otherwise there are two solutions:
- insert '20' using SUBSTR(IN_BUS_CRT_DT, 1, 7) || '20' || SUBSTR(IN_BUS_CRT_DT, 8)
- or add 100 years using ADD_MONTHS(IN_BUS_CRT_DT, 100*12)
 
Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>