I have two queries with the exact same columns. I would like to replace one row record in my main data table with a row record from a second table. I have an index column in both tabels. I woud like to replace index row 23655 in my main data table with row 23655 in my 2nd data table. How would I acoomplish this? I thought merge would work, but I can't figure it out.
@stretcharm Thanks. Yes that would work, but I could potentially have a few hundred random rows I would like to replace and I would like to find a more automated solution where the rows in one table could simple replace the rows in the other table and use the index column as the common column to identify which rows to replace.
Thanks @v-juanli-msft, but my the records I need to replace do not have consistent fields that need to be replaced, but thanks for reference provided (good info).
My situation is i have a large data table and some of the records in that data table need to be modified. The records might have a wrong plant listed or a wrong material listed, so i needed a way to have those individual records replaced with records from another table that have the correct fields.