Is that batch process an SQR? An application engine? A COBOL?
Recoding the SQL will work if the changes can be re-incorporated into the batch process relatively easily. E.g. you might be seeing the combined SQL that is executed after the business logic processing occurs and it might be hard to to make these changes in the process. Or it could just be one blob of SQL that will be easy to change.
It really depends on how the batch process has been written.
Forum category: Forum / General
Forum thread: Pension batch process - very slow!