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)
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