/**Begin D:\pdm\PDM_UPGRADE_1.3\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_RIM_FPZS_CONFIG', 'T_RIM_FPZS_CONFIG', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_FPZS_CONFIG') CREATE  CLUSTERED INDEX IDX_RIM_FPZS_CONFIG ON T_RIM_FPZS_CONFIG ( FSCHEMA_NUMBER );


 EXEC P_ALTERPK 'PK_T_RIM_FPZS_CONFIG_ENTRY', 'T_RIM_FPZS_CONFIG_ENTRY', 'FENTRYID', '0';

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



/**End D:\pdm\PDM_UPGRADE_1.3\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_constraint.sql **/
