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 467 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).

Rolling Window, Grouping Tables and More


 Article Abstract:

(Ben Taylor) Previously I presented methods for grouping and filtering data in reports using a grouping table. I also introduced methods for producing grouped data in a Rolling Window. The Rolling Window method demonstrates how to group data based on a point of reference instead of the static groups contained within the data itself. Sometimes, neither of these methods meet the requirements of your application. Recently I had to put together a rolling window broken down into periods of 10 minutes. This business requirement established a need for me to dynamically determine my grouping values. This is the first of a series of articles demonstrating how to dynamically build and utilize a grouping table. In this article I demonstrate one method to dynamically create a grouping table. Later in this series I will demonstrate other methods for building a grouping table and how to utilize it to pivot the results.

 Read this article...

 Related Articles - For Members.
All Articles By Author

Second Normal Form (2NF)
SQL Server 6.5: Some useful undocumented DBCC commands
SQL Server 2000 useful undocumented stored procedures
Meta Data User-Defined Functions
Automate Database Defragmentation and Statistics Updates
Use a Grouping Table To Optimized Date Based Queries
SQL Server 7.0 useful undocumented stored procedures
Temporary Tables: Declared and Created
Split Comma Separated Data Into A Table



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-2008, Bits on the Wire, Inc.  (0)

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