/**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKTRANSDOWNBILL' AND KSQL_COL_NAME IN ('FPAYBILLCREATOR'))
 ALTER TABLE T_BEI_BANKTRANSDOWNBILL ADD (FPAYBILLCREATOR BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKTRANSDOWNBILL' AND KSQL_COL_NAME IN ('FPAYBILLAUDITOR'))
 ALTER TABLE T_BEI_BANKTRANSDOWNBILL ADD (FPAYBILLAUDITOR BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKTRANSUPBILL' AND KSQL_COL_NAME IN ('FPAYBILLCREATOR'))
 ALTER TABLE T_BEI_BANKTRANSUPBILL ADD (FPAYBILLCREATOR BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKTRANSUPBILL' AND KSQL_COL_NAME IN ('FPAYBILLAUDITOR'))
 ALTER TABLE T_BEI_BANKTRANSUPBILL ADD (FPAYBILLAUDITOR BIGINT DEFAULT 0 NOT NULL );

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