/**Begin D:\scm_code\dev_scm\dbschema\imc\1.5\main\rim\pdm\20210827\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_RIM_HIS_SYNC_LOG', 'T_RIM_HIS_SYNC_LOG', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_HIS_SYNC_LOG') CREATE  CLUSTERED INDEX IDX_RIM_HIS_SYNC_LOG ON T_RIM_HIS_SYNC_LOG ( FORG ,FCLIENTID ,FDATA_DATE );



/**End D:\scm_code\dev_scm\dbschema\imc\1.5\main\rim\pdm\20210827\RIM_constraint.sql **/
