How To Update data?
I have source data (resulting from some conversions and derives and other operations) which I want to update into a destination table based on a lookup.
So, on lookup success how can I update some columns in that row?
TIA
I have source data (resulting from some conversions and derives and other operations) which I want to update into a destination table based on a lookup.
So, on lookup success how can I update some columns in that row?
TIA
You could use the SCD that would enable inserts to be done as well if rows aren't found.
I had thought of that but could not think how do it ... in the Update statement how do I access the row columns that I am updating from?
ie update tablename set colname = ? where id = ? (how do I fill in the ?s?)
What is the SCD?
Thanks
Mark
Just a question - using the Oledb command to update each row is quite slow - is there no faster / better way to update data?
Thanks,
Nicole
Ash Sharma has an excellent post on the subject here: http://sqljunkies.com/WebLog/ashvinis/archive/2005/03/10/8732.aspx
-Jamie