the ultimate-generic date/time framework for oracle & db2 - quick start & setup

8
18/07/22 Best Practices- Universe Design Quick start and Setup Gino Scheppers 16/12/2010

Upload: gino-scheppers

Post on 28-Jul-2015

412 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

15/04/23

Best Practices- Universe Design

Quick start and Setup Gino Scheppers16/12/2010

Page 2: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

How to test the template universe

Open the Oracle template universe in designer (3.1 or higher)

Change your connection to a valid Oracle (G10) Database

Start playing with the following objects: Generic Date Table/Date -object Corresponding filters:

‘Date-LOV-filter-example’ ‘Date - Prompt example’

Or use a between condition in combination with the [Begin Range] & [End Range] objects

Page 3: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

Steps to change a existing universe (summarized)

1. Open the Oracle-template-universe and change the connection to a valid Oracle database.

2. Open your target universe3. Copy and past the derived table with name

‘GenericDateTimeDimension’ to the target universe

4. Copy/Past the ‘Miscellaneous (Date Time Objects)’ class from the template universe to the target universe.

5. Disable all LOV for all objects in the above class6. 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)

7. Recreate (if necessary) the LOV of the GenericDateDimension object

Page 4: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

Steps

recreate the LOV with following objects and parameters.

Tip:you can use an additional sort object to sort the LOV

Page 5: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

Also need a super generic date table?

Steps: Copy/paste the derived tables (GenericDateTable & Holidays) to

your target universe Copy the ‘Generic Date Table’-class to your target universe Customize (disable the LOV’s) the objects in the above class. Adjust the derived table ‘Holidays’ with your own holidays

Page 6: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

Final step

Learn the End-User the ‘ultimate between-trick’ (in 4 easy steps)

1. Drag & drop the date/time object you want to query in the condition panel

2. Select a between condition3. Select a [Begin Range] object from the

Miscellaneous (Date/time objects) class4. Select a [End Range] object from the

Miscellaneous (Date/time 5. Run the query.

Page 7: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

Final step Learn the end-user (in 4 steps) the ‘ultimate between-trick’

1. Drag & drop the date/time object you want to query in the condition panel2. Select a between condition3. Select a [Begin Range] object from the Miscellaneous

(Date/time objects) class4. Select a [End Range] object from the Miscellaneous

(Date/time

1

2

3

4

Page 8: The Ultimate-Generic Date/Time Framework for Oracle & DB2 - Quick Start & Setup

That’s all folks

It’s free! But a small donation to my PayPal account [email protected] is…

Oeps, forgotten to mention

the ‘Miscellaneous (Date Time Objects) [GMT]’ class is a bonus class, it converts ‘Europe/Brussels’ daylight saving time to GMT.

In case the ETL boys has forgotten to convert GMT to Local time in there ETL process.

Oeps, and a DateTimeDimensionDB2Template-universe is also include!