/**Begin D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SIM_DELIVERY_MSG', 'T_SIM_DELIVERY_MSG', 'FENTRYID', '0';

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



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