February 22, 2006 09:22 PM

Custom Aggregations: The Cursor Technique

Reusable and flexible, but too slow for the job?
Rating: (0)
SQL Server Magazine
InstantDoc ID #49038
SQL Server provides a basic set of aggregation functions, such as MIN, MAX, and SUM. However, when you need other aggregations, you need to develop your own custom solutions. For example, you might need a custom aggregation solution for string concatenation to generate, say, an itinerary of flights all in one string. Or, you might need other aggregation solutions such as aggregate product (to calculate compound interest rates, for example), aggregate median (for statistical analysis), or aggregate bitwise operations (to calculate effective user permissions, for instance).

In ...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS