A
arod
I have a table that has a Symbol column.
I have another table that has two columns OldSymbol and NewSymbol.
Can I write a query that matches up the Symbol with OldSymbol values
and then replaces them with the corresponding NewSymbol?
ie. something along the lines of:
UPDATE Table1 SET Symbol = Table2.NewSymbol WHERE
Symbol=Table2.OldSymbol
(obviously that doesn't work)
I have another table that has two columns OldSymbol and NewSymbol.
Can I write a query that matches up the Symbol with OldSymbol values
and then replaces them with the corresponding NewSymbol?
ie. something along the lines of:
UPDATE Table1 SET Symbol = Table2.NewSymbol WHERE
Symbol=Table2.OldSymbol
(obviously that doesn't work)