/**Begin D:\PDM_UPGRADE\PDM1\BCM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_CHECKRECORDENTRY' AND KSQL_COL_NAME IN ('FOCMONEY')) 
 ALTER TABLE T_BCM_CHECKRECORDENTRY ADD (FOCMONEY DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_CHECKRECORDENTRY' AND KSQL_COL_NAME IN ('FDIFFTYPE')) 
 ALTER TABLE T_BCM_CHECKRECORDENTRY ADD (FDIFFTYPE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_CHECKRECORDENTRY' AND KSQL_COL_NAME IN ('FENTRYDIFFMODE')) 
 ALTER TABLE T_BCM_CHECKRECORDENTRY ADD (FENTRYDIFFMODE CHAR(1) DEFAULT ' ' NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\BCM_table.sql **/
