Converting dates to integer

mkale at 23h17
14
Sep
2010
Converting dates to integer

I am in the process of building a datawarehouse. The OLTP has dates like "date_enforced", "date_entered" in the datetime format. How do I convert this to integer in SSIS since my date dimension has the datekey as integer in the YYYYMMDD format.
I am pulling from about 7 OLTP tables with about 4 date fields in each table.

Thanks in advance for any input.
About
This topic belongs to the forum
  • Data Warehousing and Business Intelligence based on dimensional modeling and the Kimball Lifecycle.

  • Numbers of topics : 1858
  • Numbers of messages : 8714
  • Numbers of users : 3801
  • Numbers of points : 1672
Similar topics
All of my dimension tables have a value -1 that means there was no match to then dimension table. I try to put in some value such as "Unknown" or "Not available". Any suggestions for the -1 row in a Date dimension? Should I use some future date suc
Hi everyone, I have a couple of questions regarding fiscal dates and snapshot dates/data: 1. How would someone model a "fiscal" dim when a date maps to two fiscal months? e.g. Fiscal Year 2010 Fiscal Month 12 Fiscal Month Date
I'd like to know other people's opinions on how to deal with missing dates in dimensions, which is a situation that happens quite frequently (for example, think of birth date in a customer dimension). We all know that attributes in dimensions should not
As the title says, how would you describe a perfect date... with or without the nasty
Taken from the official Elbow facebook page: Quote:It's the news you've all been waiting for - Elbow have just confirmed a string of dates across the U.S.A. and Canada. This autumn the band will be playing shows in Atlanta, Washington, New York,
Forums from same category
See also
more_less
Informations

2 Replies For the topic :
"Converting dates to integer"

This topic has been viewed 1407 times.

Last message :
14/09/2010 at 23h17 by "mkale"