/**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECSTATEMENT_ENTRY' AND KSQL_COL_NAME IN ('FBUSINESSSERIALNUMBER'))
 ALTER TABLE T_BEI_ELECSTATEMENT_ENTRY ADD (FBUSINESSSERIALNUMBER NVARCHAR(50) DEFAULT ' ' NOT NULL );

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