Hi,
I was wondering if someone could explain what the differences between the following would be and which one we should use.
We basically have a table that we refresh once a week. At the moment we truncate the table and then run an insert command to load the new data.
I've recently come across the Merge command and was wondering if we should use this instead to update the existing data and insert the new records.
Is there a difference in speed or is it simply user preference to which one we use?
Oh, and our data is "screened" so there are no dupicates etc. (Just in case anybody was going to point out the pitfalls of a Merge command failing!)
Thanks
----------------------------------------------------------------------
Need help finding an answer?
Try the search facilty ( or read FAQ222-2244 on how to get better results.
I was wondering if someone could explain what the differences between the following would be and which one we should use.
We basically have a table that we refresh once a week. At the moment we truncate the table and then run an insert command to load the new data.
I've recently come across the Merge command and was wondering if we should use this instead to update the existing data and insert the new records.
Is there a difference in speed or is it simply user preference to which one we use?
Oh, and our data is "screened" so there are no dupicates etc. (Just in case anybody was going to point out the pitfalls of a Merge command failing!)
Thanks
----------------------------------------------------------------------
Need help finding an answer?
Try the search facilty ( or read FAQ222-2244 on how to get better results.