/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SIM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_bdm_inv_split_rule' AND KSQL_COL_NAME ='fdealnum')
ALTER TABLE t_bdm_inv_split_rule ADD (fdealnum VARCHAR(10) DEFAULT '1' NOT NULL );