Hi All -
We are working on a performance tuning project for fixing slow running queries. We have used enhanced indices, temporary tables, query tuning techniques and succeeded in fixing all those issues
However, we see that there is one weird issue. The same set of steps, while executing through a script runs faster, whereas while compiling them as an SP, takes longer time to execute, while the actual result should be the other way round (SP faster than standalone script)
Is my question very broad in scope? If you need additional information to help me find an answer, kindly let me know
Thanks a bunch
Krishna