G
Guest
Is it possible to create a table (eg. select field1, field2 into TmpTable
from TableX) and,
in this same query,
update another table based on this recently-created table (Update TableY
INNER JOIN TmpTable ON TableY.ID = TmpTable.ID SET TableY.field2 =
TmpTable.field2 WHERE TmpTable.ID = "123") ?
Also, would I be able to create the Temp Table so that it only exists during
this instance of the query execution?
Thanks,
VM
from TableX) and,
in this same query,
update another table based on this recently-created table (Update TableY
INNER JOIN TmpTable ON TableY.ID = TmpTable.ID SET TableY.field2 =
TmpTable.field2 WHERE TmpTable.ID = "123") ?
Also, would I be able to create the Temp Table so that it only exists during
this instance of the query execution?
Thanks,
VM