dbTalk Databases Forums  

SCD-2

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss SCD-2 in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default SCD-2 - 10-09-2007 , 03:43 PM






Hi

I am trying to incoporate SCD-2 type logic w/ a merge statement. Any
ideas/ help/ or references?

That is..update the old existing record's end_eff_dt as the existing
rows max(eff_dt)-1
and update the new record's end_eff_dt to 2999-12-31. Can anyone help
me out here? Thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.