Join | Login | Why Join?   
SQL Server, Oracle, DB2, Sybase, MySQL Help - SSWUG.ORG HACKER SAFE certified sites prevent over 99.9% of hacker crime.
Search SSWUG:   
 
Access to 591 free guest articles, discussions and more, just create your free SSWUG User ID:
Email address:  
This will be your login ID - we'll email you your password - you'll even receive the newsletter, opt-out at any time.
Email to Friend //  Discuss Article //  Rate Article //  Digg Article //  Add to Del.icio.us //  Add to Technorati

Full site membership is required for this article. Already a full member? Login here.
You currently have a guest membership. You can upgrade to full site membership here (free trial available).

Create Your Own User Defined Aggregate


 Article Abstract:

(Ben Taylor) SQL Server ships with a number of Aggregate functions built in. These functions cover most of the normal statistical requirements by providing AVG, Checksum, Count, Sum, Min, Max, Stdev, Stdevp, Var and VarP. Microsoft has released the ability to integrate with the Group By clause in SQL Server 2005, providing the savvy developer with the ability to create their own User Defined Aggregate for those formulas that are not part of the standard set shipping with SQL Server. This article explores how this is done and defines a few aggregate functions as examples.

 Read this article...

 Related Articles - For Members.
All Articles By Author

Security for developers
Is The CLR In YUKON A Good Thing?
Tips for using SQL Server 2005 User-Defined Functions
How busy is your Oracle database?
Troubleshooting SQL Server 2005 CLR Problems
Tips for using SQL Server 2000 User-Defined Functions
Managing Users Permissions
Useful Security User-Defined Functions
Identifying and Monitoring Oracle User System and Object Privileges Part 1 of 2



Key (Please note):
(R) - registration may be required for access at the target site
($) - target site may require paid membership for access to this or other content


No Comments/Feedback Posted Yet. Post Your Comments/Feedback

Email to Friend //  Discuss Article //  Rate Article //  Digg Article //  Add to Del.icio.us //  Add to Technorati

   




 

[ Register ] [ Webcasts ] [ Podcasts ] [ Newsletter Archive ] [ RSS/Feeds ]
[ About ] [ Advertise ] [ Contact ] [ Privacy ] [ Terms of Service ]
[ Link to SSWUG ] [ List Server Archives ] [ Recent Orig. Content ]
(c) 1997-2009, Bits on the Wire, Inc.  (0)

Some names and products covered by SSWUG are the registered trademarks of their respective owners.
DAA10354WWW004