IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_DEPREDETAILENTRY' AND KSQL_COL_NAME ='FREALCARDID') 
 ALTER TABLE T_FA_DEPREDETAILENTRY ADD (FREALCARDID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_DEPREDETAILENTRY' AND KSQL_COL_NAME ='FFINCARDID') 
 ALTER TABLE T_FA_DEPREDETAILENTRY ADD (FFINCARDID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_DEPREDETAILENTRY' AND KSQL_COL_NAME ='FDETAILSID') 
 ALTER TABLE T_FA_DEPREDETAILENTRY ADD (FDETAILSID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_DEPRESPLITDETAIL' AND KSQL_COL_NAME ='FDETAILSID') 
 ALTER TABLE T_FA_DEPRESPLITDETAIL ADD (FDETAILSID BIGINT DEFAULT 0 NOT NULL );