SlideShare ist ein Scribd-Unternehmen logo
1 von 14
The Ultimate Generic date/time framework


     Quick start and Setup for MS-SQL Server
     Gino Scheppers
     16/02/2012




06/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 the
query panel, and run the query
First example – Run the above query
Second example
Drag & drop some result objects and the predefined Date (Timestamp-type)
Prompt Example, run the query
Second example – Run the above query
Third example
 With the objects from the Miscellaneous (Timestamp Objects)-class




Use the between operator in combination with a [Begin Range] and [End
Range] object
Third example – Result
Based 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 universe
s   Copy and past the derived table with name
    ‘GenericTimestampDimension’ to the target
    universe
s   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 step

1.   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 panel
2.   Select a between
     condition
3.   Select a [Begin Range]
     object from the                                  3
     Miscellaneous
     (Timestamp objects) class
4.   Select a [End Range]
     object from the                         1
                                                 2
     Miscellaneous                                             4

     (Timestamp objects) class
5.   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
      gino.scheppers@telenet.be is welcome…

Weitere ähnliche Inhalte

Ähnlich wie The Ultimate Date Time Universe solution (Quick Start and Setup MS SQL Server)

Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
Ramu Palanki
 
GDE Lab 1 – Traffic Light Pg. 1 Lab 1 Traffic L.docx
GDE Lab 1 – Traffic Light  Pg. 1     Lab 1 Traffic L.docxGDE Lab 1 – Traffic Light  Pg. 1     Lab 1 Traffic L.docx
GDE Lab 1 – Traffic Light Pg. 1 Lab 1 Traffic L.docx
budbarber38650
 
Assignment2 A
Assignment2 AAssignment2 A
Assignment2 A
Mahmoud
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
 
谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability
drewz lin
 

Ähnlich wie The Ultimate Date Time Universe solution (Quick Start and Setup MS SQL Server) (20)

Testing Spring Boot application in post-JUnit 4 world
Testing Spring Boot application in post-JUnit 4 worldTesting Spring Boot application in post-JUnit 4 world
Testing Spring Boot application in post-JUnit 4 world
 
Whitebox testing of Spring Boot applications
Whitebox testing of Spring Boot applicationsWhitebox testing of Spring Boot applications
Whitebox testing of Spring Boot applications
 
Efficient Memory and Thread Management in Highly Parallel Java Applications
Efficient Memory and Thread Management in Highly Parallel Java ApplicationsEfficient Memory and Thread Management in Highly Parallel Java Applications
Efficient Memory and Thread Management in Highly Parallel Java Applications
 
We Are All Testers Now: The Testing Pyramid and Front-End Development
We Are All Testers Now: The Testing Pyramid and Front-End DevelopmentWe Are All Testers Now: The Testing Pyramid and Front-End Development
We Are All Testers Now: The Testing Pyramid and Front-End Development
 
C++ to java
C++ to javaC++ to java
C++ to java
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
GDE Lab 1 – Traffic Light Pg. 1 Lab 1 Traffic L.docx
GDE Lab 1 – Traffic Light  Pg. 1     Lab 1 Traffic L.docxGDE Lab 1 – Traffic Light  Pg. 1     Lab 1 Traffic L.docx
GDE Lab 1 – Traffic Light Pg. 1 Lab 1 Traffic L.docx
 
Assignment2 A
Assignment2 AAssignment2 A
Assignment2 A
 
Testing in Craft CMS
Testing in Craft CMSTesting in Craft CMS
Testing in Craft CMS
 
Test Case Creation in Katalon Studio
Test Case Creation in Katalon StudioTest Case Creation in Katalon Studio
Test Case Creation in Katalon Studio
 
QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
L2624 labriola
L2624 labriolaL2624 labriola
L2624 labriola
 
谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability
 
Javascript Common Design Patterns
Javascript Common Design PatternsJavascript Common Design Patterns
Javascript Common Design Patterns
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMock
 
Adding a modern twist to legacy web applications
Adding a modern twist to legacy web applicationsAdding a modern twist to legacy web applications
Adding a modern twist to legacy web applications
 
Ot performance webinar
Ot performance webinarOt performance webinar
Ot performance webinar
 
Unit testing - A&BP CC
Unit testing - A&BP CCUnit testing - A&BP CC
Unit testing - A&BP CC
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

The Ultimate Date Time Universe solution (Quick Start and Setup MS SQL Server)

  • 1. The Ultimate Generic date/time framework Quick start and Setup for MS-SQL Server Gino Scheppers 16/02/2012 06/03/12
  • 2. 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
  • 3. First example (LOV Filter) Drag & drop some result objects and the predefined LOV example into the query panel, and run the query
  • 4. First example – Run the above query
  • 5. Second example Drag & drop some result objects and the predefined Date (Timestamp-type) Prompt Example, run the query
  • 6. Second example – Run the above query
  • 7. Third example With the objects from the Miscellaneous (Timestamp Objects)-class Use the between operator in combination with a [Begin Range] and [End Range] object
  • 8. Third example – Result Based on current date - 17/02/2012, this is the result.
  • 9. 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.
  • 10. 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 universe s Copy and past the derived table with name ‘GenericTimestampDimension’ to the target universe s 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)
  • 11. Steps 6 (Very important, don’t forget, this step!)  recreate the LOV with following objects and parameters.
  • 12. 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
  • 13. Final step 1. 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 panel 2. Select a between condition 3. Select a [Begin Range] object from the 3 Miscellaneous (Timestamp objects) class 4. Select a [End Range] object from the 1 2 Miscellaneous 4 (Timestamp objects) class 5. Run the query.
  • 14. 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 gino.scheppers@telenet.be is welcome…