/**Begin D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SIM_BILL_ADD_INVOICE', 'T_SIM_BILL_ADD_INVOICE', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_BILL_ADD_INVOICE') CREATE  CLUSTERED INDEX IDX_SIM_BILL_ADD_INVOICE ON T_SIM_BILL_ADD_INVOICE ( FORIGINALBILLID );



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