/**Begin D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_sim_bill_add_invoice' AND KSQL_COL_NAME ='fbilldetailid')
 ALTER TABLE t_sim_bill_add_invoice ADD (fbilldetailid VARCHAR(50) DEFAULT ' ' );

/**End D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_table.sql **/
