R
R Bolling
I am attempting to use a delete query based on a join where several
fields are involved with the join. The model is something like this:
Table1/Field1: A, B, C, D, E, F, G, H, I, J, K
Table2/Field1: C, D, F, H, K
What is the SQL syntax that I need to first, delete the values C, D,
F, H, & K from Table1, and then replace those values with the updates
from Table2?
My ignorant workaround is dumping Table2 into a keyed temporary table,
then dumping Table1 into it -- which works rather well for small
tables, but I would like to use a join to delete the updates from
Table1, and then replace them with the Table2 values. Any ideas for
this?
Thanks,
R. Bollin
fields are involved with the join. The model is something like this:
Table1/Field1: A, B, C, D, E, F, G, H, I, J, K
Table2/Field1: C, D, F, H, K
What is the SQL syntax that I need to first, delete the values C, D,
F, H, & K from Table1, and then replace those values with the updates
from Table2?
My ignorant workaround is dumping Table2 into a keyed temporary table,
then dumping Table1 into it -- which works rather well for small
tables, but I would like to use a join to delete the updates from
Table1, and then replace them with the Table2 values. Any ideas for
this?
Thanks,
R. Bollin