Strange UPDATE syntax in MS Access 2003

Posted by Sven on Stack Overflow See other posts from Stack Overflow or by Sven
Published on 2010-12-21T15:46:09Z Indexed on 2010/12/21 15:54 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

Hi,

I've got an Access application with an update query with the following syntax:

UPDATE TABLE1, TABLE2 SET 
TABLE2.VALUE1 = TABLE1.VALUE1, 
TABLE2.VALUE2 = TABLE1.VALUE2, 
TABLE2.VALUE3 = TABLE1.VALUE3, 
TABLE2.VALUE4 = TABLE1.VALUE4

The query is working but I do not understand what's going on here. I'm trying to convert this query to SQL Server. Can somebody please explain what this query does? My guess is that it's a special Access syntax.

Thanks, Sven

© Stack Overflow or respective owner

Related posts about sql

Related posts about vba