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

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECSTATEMENT' AND KSQL_COL_NAME IN ('FBILLTYPE'))
 ALTER TABLE T_BEI_ELECSTATEMENT ADD (FBILLTYPE NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECSTATEMENT' AND KSQL_COL_NAME IN ('FBANKSTATUS'))
 ALTER TABLE T_BEI_ELECSTATEMENT ADD (FBANKSTATUS NVARCHAR(50) DEFAULT ' ' NOT NULL );

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