I need to update some data from another table..
I want to simply take the data from col1 in table1 to col1 in table2, the rows are at the same position so there aint really any id-comparing thats need to be done..
How can I do this?
----------------------------------------- Db1.Table1 (Take yearModel from this table to update Table3) ----------------------------------------- imgid | int | PK | yearModel | int | ----------------------------------------- ----------------------------------------- Db2.Table2 (Go by this table to update Table3) ----------------------------------------- imgid | int | PK | uploadId | int | FK (With table3.uploadId) | ------------------------------------------ ------------------------------------------ Db2.Table3 (Update this table with the yearModel from table1) ------------------------------------------- uploadId | int | PK | uploadYearModel | int | Sorry, my database diagaram "thingy" has crashed for some wierd reason.. :( I hope you ge the idea
I should also mention that Table1 is located in another database..which Im not sure if that matters.. but well.. :)
Thanks in advance!