Update or?

  • Hi, I'm quite new to SQL and could use your help please.

    In my database I have 2 tables that hold unique values, and I need to 'Map' all these values from one table to a single value in the other table. Obviously if I do a normal update statement, then I can't enter another value the same?

  • you can use an update of all the fields except for the Key value.

    Can say

    update table set ....

    where key_table1 = key_table2

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply