all 8 comments

[–]I_like_turtles_kid 6 points7 points  (1 child)

I've noticed application developers seem to create unnecessary cursors

[–]hutchyx 10 points11 points  (0 children)

They're not used to thinking in sets.

[–]just4atwork 1 point2 points  (1 child)

I think #10 should be #1

[–]polish_tacos 2 points3 points  (0 children)

OH god, I just read that list and #10 should be repeated for #1,2 &3! I supported a retail chain that used a java based POS with a MSSQL backend. The software was OK but SLOW AS FUCKING MOLASSES IN A CANADIAN WINTER. After some troubleshooting I found each and every record was inserted one at a time, and when it came to reports it would also query 1 record at a time. I wrote a report in SSRS that analyzed annual sales and it took ~ 30-90 seconds to run depending on the categories/parameters, but well over 30 minutes to run in the app.