IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJDETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM7')) 
ALTER TABLE T_EB_ADJDETAIL ADD (FCUSTOMDIM7 BIGINT DEFAULT 0 NOT NULL );


IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJDETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM8')) 
ALTER TABLE T_EB_ADJDETAIL ADD (FCUSTOMDIM8 BIGINT DEFAULT 0 NOT NULL );


IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM7')) 
ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM7 BIGINT DEFAULT 0 NOT NULL );


IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM8')) 
ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM8 BIGINT DEFAULT 0 NOT NULL );