$ 0 0 SELECT MYDATE,CAST(CAST(CAST(MYDATE AS DATE FORMAT 'YYYYMMDD') +INTERVAL '7' DAY AS FORMAT 'YYYYMMDD') as CHAR(10)) FROM KVB_DT
SELECT MYDATE,CAST(CAST(CAST(MYDATE AS DATE FORMAT 'YYYYMMDD') +INTERVAL '7' DAY AS FORMAT 'YYYYMMDD') as CHAR(10)) FROM KVB_DT