Question : UPDATE on two tables INNER JOINed in SQL Server Compact Edition

How does one do an UPDATE on two tables INNER JOINed in SQL Server Compact Edition?

Answer : UPDATE on two tables INNER JOINed in SQL Server Compact Edition

I believe in SQL Compact Edition, From clause is not allowed in an UPDATE statement.
Hence try this one.

UPDATE  table1
SET col2 = (SELECT t2.col2 table2 t2 where t1.id = t2.id)
Random Solutions  
 
programming4us programming4us