Hi
I'm currently administrating a large relational database.
I need to Run an update statement something like this.
UPDATE table1
SET column1 = '6c'
WHERE column2 = 602 AND column3 = 45;
The problem is that column2 resides in a different table that column1 and column3.
Are you with me? I hope so, ok.
I have tried the following as well.
UPDATE table1
SET column1 = '6c'
WHERE table2.primarykey = table1.primarykey AND table2.column2 = 602 AND table1.column3 = 45;
i've also tried loads of variations of the above.
Any help will be totally appreciated.
Thanks
I'm currently administrating a large relational database.
I need to Run an update statement something like this.
UPDATE table1
SET column1 = '6c'
WHERE column2 = 602 AND column3 = 45;
The problem is that column2 resides in a different table that column1 and column3.
Are you with me? I hope so, ok.
I have tried the following as well.
UPDATE table1
SET column1 = '6c'
WHERE table2.primarykey = table1.primarykey AND table2.column2 = 602 AND table1.column3 = 45;
i've also tried loads of variations of the above.
Any help will be totally appreciated.
Thanks