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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_RECOGNITION_RESULT') CREATE  CLUSTERED INDEX IDX_RIM_RECOGNITION_RESULT ON T_RIM_RECOGNITION_RESULT ( FFILE_HASH ,FPAGE_NO );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_RECOGNITION_RESULT2') CREATE INDEX IDX_RIM_RECOGNITION_RESULT2 ON T_RIM_RECOGNITION_RESULT ( FCREATE_TIME ,FCREATER );



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