How to view the access plan for the entire SP along with the cost in IBM DataStudio, I am able to view it for a single query but when I do the same for a Stored Procedure it throws an error.

有帮助吗?

解决方案

Found the answer, using db2expln executable from the command window, I was able to generate the execution plan for the stored procedures.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top