|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, January 14, 2013 4:24 AM
Points: 81,
Visits: 188
|
|
| Comments posted here are about the content posted at temp
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, June 21, 2011 10:03 AM
Points: 577,
Visits: 102
|
|
Is it just me, or is the article missing?
Signature is NULL
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, December 08, 2006 12:13 AM
Points: 8,
Visits: 1
|
|
Hi, I urgently need to know how to carry out an UPSERT in SSIS 2005. If anyone knows the way to do it, please let me know as soon as possible. TIA, Uday.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, February 21, 2013 6:30 AM
Points: 562,
Visits: 1,404
|
|
The article is printed in one of the fullstops via microfilm (lol)
------------------------------------------------------------------------- Normal chaos will be resumed as soon as possible.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, December 08, 2006 12:13 AM
Points: 8,
Visits: 1
|
|
| Ok.... i havent the slightest idea what that meant!
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: 2 days ago @ 2:13 PM
Points: 6,866,
Visits: 8,071
|
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, June 21, 2011 10:03 AM
Points: 577,
Visits: 102
|
|
Oh, upsert...thought this was the upskirt discussion.
But seriously, what's wrong with the following?
Update e set ColumnName = i.ColumnName from ImportTable i JOIN TableName e on i.uniqueID = e.uniqueID
Insert TableName (ColumnName) select i.ColumnName from ImportTable i LEFT JOIN TableName e on i.uniqueID = e.uniqueID where e.uniqueID is null
Database 101, but is there some newfangled way to do this in the new Analytics? You'd still need to build the dimension and fact tables using SQL (or something), right?
Signature is NULL
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 05, 2013 6:01 AM
Points: 6,
Visits: 43
|
|
Delete from the target table where the same data exists in the source table. At this point if the source row = target row its ok. If source row has updated values you dont care either becuase the next step is to insert all source rows to the target which is essentially overwritting rows that have been updated within the source. The easiest way of all however would be to use some kind of auditing within you loads from source to target. But we dont live in a perfect world. If I could VPN to a client site I would add a sample package but again, we dont live in a perfect world!!!!!
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, December 08, 2006 12:13 AM
Points: 8,
Visits: 1
|
|
| My question was not how do it in the DB directly. Im trying to figure out if there is a way in Sql Server Integration Services (DTS) to do the same using a transformation.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, December 20, 2012 12:20 AM
Points: 31,
Visits: 44
|
|
Hi, use Lookup transformation on SSIS data flow page with the referential table. It is possible to update in standard output flow or insert in configured error flow. Robert
|
|
|
|