Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Running Explain Plan from within a Stored Procedure

$
0
0

The explain plan for SQL within a procedure will most often not be very useful as it is a apriori plan that is created before execution time.

You'd rather want to check the PlanViz that you can run together with the procedure parameters.

With that you can explore what actually happens during query execution.

 

Besides that, I am not aware that you can pick any SQL from within a procedure and run EXPLAIN on it.


Viewing all articles
Browse latest Browse all 9165

Trending Articles