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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_IDB_TASK_PARAM') CREATE  CLUSTERED INDEX IDX_RIM_IDB_TASK_PARAM ON T_RIM_IDB_TASK_PARAM ( FQUERY_TYPE ,FDATA_DATE );



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