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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_STATUS_BILL') CREATE  CLUSTERED INDEX IDX_SIM_STATUS_BILL ON T_SIM_STATUS_BILL ( FDATE );


 EXEC P_ALTERPK 'PK_SIM_TAXRATE_BILL', 'T_SIM_TAXRATE_BILL', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_TAXRATE_BILL') CREATE  CLUSTERED INDEX IDX_SIM_TAXRATE_BILL ON T_SIM_TAXRATE_BILL ( FDATE );


 EXEC P_ALTERPK 'PK_SIM_TAXRATE_BILL_ITEM', 'T_SIM_TAXRATE_BILL_ITEM', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_TAXRATE_BILL_ITEM_FK') CREATE  CLUSTERED INDEX IDX_SIM_TAXRATE_BILL_ITEM_FK ON T_SIM_TAXRATE_BILL_ITEM ( FID );



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