Hi ajanie, What are you trying to do? Score new data using Enterprise Guide? If that is the case, add a Score node to your flow, run it, and borrow the optimized score code. The reason you need the sorted by customer is that there is an id statement in your proc dmdb. I hope it helps, M
... View more