abcdefgqwerty2


Is it possible for me to do something like

update table1 SET var1=something,var2=something2
from table1
(SELECT * from table2) as newtable
where newtable.field1=acondition



Re: select inside update query?

Jens K. Suessmeyer


OK, the query (although not correct) also makes no sense to me. What are you trying to achive, try to explain the query you want to write in words.

HTH, Jens K. Suessmeyer.

---
http://www.sqlserver2005.de
---