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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_RECONCILIATION_SUM') CREATE  CLUSTERED INDEX IDX_SIM_RECONCILIATION_SUM ON T_SIM_RECONCILIATION_SUM ( FORGID );


 EXEC P_ALTERPK 'PK_T_SIM_RECONCILIATION_ITEM', 'T_SIM_RECONCILIATION_ITEM', 'FENTRYID', '0';

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



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