/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HDM_table.sql **/
 --- drop column --------- 不允许删除表T_HDM_REGBASEBILL_A的字段FBILLSTATUS，请恢复pdm中的字段 ------------------- 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_REGBASEBILL' AND KSQL_COL_NAME ='FBILLSTATUS') 
 ALTER TABLE T_HDM_REGBASEBILL ADD (FBILLSTATUS VARCHAR(2) DEFAULT ' ' NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HDM_table.sql **/
