Hello,
I understand the point that we should now be using SQL statements over CE Functions. The system I am using is on SP10 and I have come across a big performance gap between the two methods above and am trying to figure out why this could be in a scripted calculation view ( select all records from calculation view). Also to note, there is much more to this code but I have limited it to this specific piece.
CE Function
var_out = CE_CALC_VIEW("<CALC_VIEW>")
When using this, I get the output in approx. 12 seconds.
SQL
var_out = SELECT * FROM <CALC_VIEW>
When using this, I get the output in approx. 2min 30 seconds. I also get about the same time using the graphical calculation view.
Does anyone have any ideas on what might be causing this?
Thanks,
Travis