Unix Technical Forum

SCD-2

This is a discussion on SCD-2 within the DB2 forums, part of the Database Server Software category; --> Hi I am trying to incoporate SCD-2 type logic w/ a merge statement. Any ideas/ help/ or references? That ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:07 PM
Mike
 
Posts: n/a
Default SCD-2

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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com