need to load destination table checking primary key on the soruce
i need fill data destination table source table. columns identical in both. need see if same primary key exists in destinatination table in source table. if there primary key in source table , destination need update other coulmns based on change in source table if not need insert data. how accomplish this?
sounds me should have separate package (or data flow, or pipe within data flow - depending on best practice follow) fills in normalized tables first.
i suggest taking @ using sql server 2005 integration services populate kimball method data warehouse (level 200) webcast:
http://msevents.microsoft.com/cui/webcasteventdetails.aspx?culture=en-us&eventid=1032297073&countrycode=us
also, might @ "checking see if record exists , if update else insert" thread:
http://forums.microsoft.com/msdn/showpost.aspx?postid=1211340&siteid=1
i suggest taking @ using sql server 2005 integration services populate kimball method data warehouse (level 200) webcast:
http://msevents.microsoft.com/cui/webcasteventdetails.aspx?culture=en-us&eventid=1032297073&countrycode=us
also, might @ "checking see if record exists , if update else insert" thread:
http://forums.microsoft.com/msdn/showpost.aspx?postid=1211340&siteid=1
SQL Server > SQL Server Integration Services
Comments
Post a Comment