Forum Discussion

bhorvati's avatar
bhorvati
Frequent Visitor
8 years ago
Solved

Merge queries. How replace a row?

  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...
  • ImkeF's avatar
    ImkeF
    8 years ago

    If my understanding of the problem is correct, this would probably be the easiest option:

     

    1) Append the long table to your table that holds the replacements

    2) Check the index column and remove duplicates

     

    Removing duplicates will keep the first row it finds in a table. This should also be fast.