Subject | update from select |
---|---|
Author | Nick Upson |
Post date | 2007-08-20T11:03:44Z |
Hi,
I must be Monday morning stupids but I cannot remember/find the syntax
to update one table from another when there are multiple fields
involved.
I got "update table1 set field1 = (select field2 from table2 where
...)" but I have about 12 fields involved.
Could someone more awake please post an example or pointer to one, thanks
I must be Monday morning stupids but I cannot remember/find the syntax
to update one table from another when there are multiple fields
involved.
I got "update table1 set field1 = (select field2 from table2 where
...)" but I have about 12 fields involved.
Could someone more awake please post an example or pointer to one, thanks