March 30, 2010 at 3:13 am
Hi there,
I am trying to understand what the update does in this load script. In the above zip file I have created a staging table, loaded the sales credit data into it using an SSIS from the Adventure works database (a sample microsoft sql database). The way I understand is that the load script inserts new records that are NOT in the transform table but ARE in the staging table (ie:hence a right join where t.creditcard is null). However I don't really understand what the update function above is doing. Is it closing off the record by setting dateto=today's date??? but why is there a left join hence. I also can't see anywhere in the final table where the 'update' is working.
thanks Craig
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy