The Ultimate Date Time Universe solution (Quick Start and Setup MS SQL Server)
The Ultimate Generic date/time framework Quick start and Setup for MS-SQL Server Gino Scheppers 16/02/201206/03/12
How to test the MS-SQL Server template universe? Open the MS-SQL template universe in designer (3.1 or higher) Change your connection to a valid MS-SQL Server database Start playing with the objects and predefined filters in the [Generic Timestamp Table]-class. The objects in this class are based on fields from the derived table called: GenericTimestampTable
First example (LOV Filter)Drag & drop some result objects and the predefined LOV example into thequery panel, and run the query
Third example With the objects from the Miscellaneous (Timestamp Objects)-classUse the between operator in combination with a [Begin Range] and [EndRange] object
Third example – ResultBased on current date - 17/02/2012, this is the result.
Summary The above three examples illustrates the ease of use of the date/time framework, and the benefits you get after implementing the framework in your own MS-SQL universes. Of course, the GenericTimestampTable- derived table is not needed in your own universes. I only use it for demo purpose. It’s the fastest way to show you the tremendous possibilities without struggling with the setup first.
Steps to change a existing universe (summarized)s Open the MS-SQL-template-universe and change the connection to a valid MS-SQL database.s Open your target universes Copy and past the derived table with name ‘GenericTimestampDimension’ to the target universes Copy/Past the ‘Miscellaneous (Timestamp Objects)’ class from the template universe to the target universe.s Create a filter-prompt object for every date/time object where an ad-hoc ‘List of values’ is needed. (check the filter-example in the Generic Date table class)s Recreate (if necessary) the LOV of the GenericDateDimension object (see next slide)
Steps 6 (Very important, don’t forget, this step!) recreate the LOV with following objects and parameters.
Also need a Super Generic Date-Dimension table? Steps: Copy/paste the derived table (GenericTimestampTable) to your target universe Copy the ‘Generic Timestamp’-class to your target universe Disable the LOV’s the objects
Final step1. Drag & drop the Learn the end-user (in 5 steps) date/time object you want the ‘ultimate between-trick’ to query in the Query 5 Filters panel2. Select a between condition3. Select a [Begin Range] object from the 3 Miscellaneous (Timestamp objects) class4. Select a [End Range] object from the 1 2 Miscellaneous 4 (Timestamp objects) class5. Run the query.
That’s all folks And the good news, lot’s of good stuff can be found on my Wordpress-Blog Can you find 10 good reasons why to use the Ultimate Generic Date/Time framworke? No, check my Blog-post. It’s free! But a small donation to my PayPal account email@example.com is welcome…