Viewing 14 posts - 1 through 14 (of 14 total)
I wrote an article about the problem in 2006. Besides the solution with table function, look at the third solution: http://www.sql-server-performance.com/articles/dba/list_random_values_p1.aspx
March 21, 2011 at 4:31 am
Lowell (3/4/2011)
an execution plan gets created when the procedure is created,as everyone probably knows.
I still use SQL Server 2000 and for that version execution plan is created when the...
March 9, 2011 at 1:25 am
Thanks again for stopping by and for the constructive comments. I'd also love to see your article (as I'm sure the others on this discussion would) on the subject....
February 3, 2011 at 11:30 am
I agree that it depends and there are cases for doing implementation in SQL.
However, to clarify my position: One should consider sql implementation of running totals only if...
February 3, 2011 at 3:19 am
Hello Jeff & Co. Really great article and awesome discussion. I wrote an article about the topic five years ago, but my investigation lacked depth of the Jeff's article and...
February 2, 2011 at 1:15 pm
June 15, 2006 at 5:59 am
The best solution is to return raw data set and to calculate cumulative values on the client. For more details read: http://www.sql-server-performance.com/mm_cursor_friendly_problem.asp
June 15, 2006 at 5:51 am
Curosor solution is most probably faster then one mentioned above.
Another approach is to build table variable (or temp table) and with tabl21IDs column initally null. Then you can update...
May 10, 2006 at 5:27 am
Jeff, I agree with your discussion about row-by-row processing, however I disagree about temp tables vs. table variables. My points are:
1. I don't need statistics on temp tables, because I...
February 7, 2006 at 6:05 am
Again article suggesting replacing a cursor with one row at time processing loop. That's not more efficient solution. It would be nice if author would test the solution before claiming...
January 20, 2006 at 5:48 am
I tested the loop solution and it hardly offered any performance improvement over cursor. I would like to have test specification that showed 75% improvement.
January 17, 2006 at 4:39 am
I already posted the comment that was here once I checked, but dissapeared in the meantime.
Anyway, I like the article, it is pretty good beginners guide to index design.
However, I...
October 21, 2005 at 4:48 am
Using union instead of or is good idea. On top of that index on modifiedByUserID would help peformance.
Clustered index on createdUserID causes a lot of page splits during inserts. Consider...
October 13, 2005 at 10:46 am
I think you wanted to say that if clustered index is not on identity column that can cause a lot of page splitting. Anyway, I agree we need much more...
October 13, 2005 at 10:33 am
Viewing 14 posts - 1 through 14 (of 14 total)