SnakeHollywood
Programmer
Can someone please tell me what is the correct syntax to do this. The way I am doing it seems to be syntactically correct and this is the way it works when you use a subquery within a SELECT statement, but it wont work for an UPDATE statement.<br>There is nothing wrong with my queries except for the subquery.<br><br>example of what I am trying to do.<br><br>UPDATE table1<br>SET name = whatever,<br> field2 = (select a,b from table2 where ID = whatever),<br> field3 = whatever<br>WHERE ID = 1<br>