
/**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECRECEIPT' AND KSQL_COL_NAME IN ('FMATCHTYPE'))
 ALTER TABLE T_BEI_ELECRECEIPT ADD (FMATCHTYPE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECRECEIPT' AND KSQL_COL_NAME IN ('FMATCHER'))
 ALTER TABLE T_BEI_ELECRECEIPT ADD (FMATCHER BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECRECEIPT' AND KSQL_COL_NAME IN ('FMATCHTIME'))
 ALTER TABLE T_BEI_ELECRECEIPT ADD (FMATCHTIME DATETIME );

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

