/**Begin D:\pdm\PDM_UPGRADE\pdm_new\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SIM_CLASS_MAPPING_CFG', 'T_SIM_CLASS_MAPPING_CFG', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_CLASS_MAPPING_CFG') CREATE  CLUSTERED INDEX IDX_SIM_CLASS_MAPPING_CFG ON T_SIM_CLASS_MAPPING_CFG ( FNUMBER );


 EXEC P_ALTERPK 'PK_SIM_CLASS_MAPPING_CFG_L', 'T_SIM_CLASS_MAPPING_CFG_L', 'FPKID', '0';

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



/**End D:\pdm\PDM_UPGRADE\pdm_new\SIM_constraint.sql **/
