/**Begin D:\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_RIM_DOWN_APPLY_LOG', 'T_RIM_DOWN_APPLY_LOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_APPLY_LOG_TAX_NO') CREATE INDEX IDX_RIM_APPLY_LOG_TAX_NO ON T_RIM_DOWN_APPLY_LOG ( FTAX_NO );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_APPLY_LOG_ORG') CREATE INDEX IDX_RIM_APPLY_LOG_ORG ON T_RIM_DOWN_APPLY_LOG ( FORG );



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