Click here to Skip to main content
12,303,940 members (73,409 online)
Click here to Skip to main content


2 bookmarked

SQL Server: A Query Slow in SSMS, Fast in Application, WHY?

, 9 Jan 2013 CPOL
Today, a colleague asked me, why his simple selectquery is taking around 3000ms (3 Seconds) to execute while, same query is quite fast when executed from application. Answer is simple: SQL Server Management Studio use RBAR-Row By Agonizing Rowmethod to fetch rows and inform row by row to SQL Server



Compare Revision Minor Date Status Editor
3 - publicly available No 9-Jan-13 9:34 Available Sean Ewington
Updates in content.
2 No 9-Jan-13 8:40 Pending aasim abdullah
Updates in content.
1 No 7-Jan-13 11:01 Available Sean Ewington
Updates in content. 441 changes had been made.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

aasim abdullah
Team Leader CureMD
Pakistan Pakistan
Aasim Abdullah is working as SQL Server DBA with CureMD ( based in NY, USA. He has been working with SQL Server since 2007 (Version 2005) and has used it in many projects as a developer, administrator, database designer. Aasim's primary interest is SQL Server performance tuning. If he finds the time, he like to sketch faces with graphite pencils.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160530.1 | Last Updated 9 Jan 2013
Article Copyright 2013 by aasim abdullah
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid