Duration of stored procedure in SQLTest is much higher than SSMS

15 views
Skip to first unread message

Yoni Sade

unread,
Jun 7, 2023, 2:23:38 PM6/7/23
to SQLTest
Hi
I'm running a stored procedure in SSMS and it finishes in 6 seconds after fetching 50,000 rows while in SQLTest it finishes in 17 seconds.

"Workload Statistics" + "Detailed Statistics " + "Show results" are all turned off (when "Show results" is on the displayed results takes forever to be written on screen)

Ramesh Meyyappan

unread,
Jun 12, 2023, 6:15:15 AM6/12/23
to SQLTest, yonis...@gmail.com
Could it be plan drift? you can verify that by setting ARITHABORT to ON/OFF.
SQLTest used SQLClient, the ARITHABORT default is different from SSMS
Let me know

Reply all
Reply to author
Forward
0 new messages