Good technique - beware of large tables

  • This good techinique is preety simple to apply for something that declarative sql does not handle very well.

    It always surprises inexperienced developers how this simple and rather common request for a report is actually difficult to handle is pure sql code (no stored procedures or reporting tools like Crystal Reports).

    Be aware that if you use it on a large set of data you are likely to blow up your sql server (example customers running totals balances).

    I hear that sql 2012 has a new feature that can calculate running totals but haven't tried it yet.

    Good post 🙂

  • Ooops sorry I meant to post this as a reply to the "How to get monthly YTD data" thread.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply