/**Begin D:\pdm\PDM_UPGRADE\pdm_new\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_RIM_ERROR_CODE', 'T_RIM_ERROR_CODE', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_ERROR_CODE') CREATE UNIQUE  CLUSTERED INDEX IDX_RIM_ERROR_CODE ON T_RIM_ERROR_CODE ( FINTERFACE ,FOUT_CODE );



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