I'm trying to select all the records from columns in a table1 and replace 1 column with the other column from the other table...
it is possible?
select * from tbl1
replace tbl1.col1 with tbl2.col2
I'm trying to select all the records from columns in a table1 and replace 1 column with the other column from the other table...
it is possible?
select * from tbl1
replace tbl1.col1 with tbl2.col2
I think the adding an IF or WHERE not exists to the INSERT statement as described here might work: