I am new to DataStage and would like to find out what other people are
using to populate some common dimensions like date or year dimension.
What are most common attributes and how to populate the table appropriately ?
Do you guys use stored procedure and database function to add dates ?
Date dimension in data warehouse
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 13
- Joined: Wed Apr 07, 2010 11:50 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I typically use a server job (with a Transformer stage as a row generator) or a parallel job (with a Row Generator stage) to generate the dates and surrogate keys.
Attributes in a date dimension vary with different customers' requirements.
Typically they will include:
Attributes in a date dimension vary with different customers' requirements.
Typically they will include:
- date components (day, month, quarter and year numbers, weekday)
range components (e.g. date of last day of month)
intelligence components (e.g. weekday/weekend)
calendar year and financial year components
other (e.g. season)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 5
- Joined: Sun Jan 15, 2006 11:45 pm
- Contact:
Re: Date dimension in data warehouse
For date dimension, should write Procedure along with require attribute as per the business requirement. When you compile the job corresponding data will fetch form your database at run time.
M.K.Madhav