0

I have a table valued function foo(x). If I call this from SQL management studio, it runs in ~2 seconds, and returns ~20 rows. When I add it to a dbml, and from my code call foo(x).toList(), it takes about 5 times longer, ~10 seconds. What could cause the difference, and how can I mitigate the speed difference?

4

0 回答 0