/**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_sim_original_bill' AND KSQL_COL_NAME ='ftaxorg') 
 ALTER TABLE t_sim_original_bill ADD (ftaxorg BIGINT DEFAULT 0 NOT NULL );