/**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKPAYINGBILL_E' AND KSQL_COL_NAME IN ('FTRANSACTIONAMOUNT')) 
 ALTER TABLE T_BEI_BANKPAYINGBILL_E ADD (FTRANSACTIONAMOUNT DECIMAL(19,4) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKPAYINGBILL_E' AND KSQL_COL_NAME IN ('FTRANSACTIONPOSTSCRIP')) 
 ALTER TABLE T_BEI_BANKPAYINGBILL_E ADD (FTRANSACTIONPOSTSCRIP NVARCHAR(255) DEFAULT ' ' NOT NULL );

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