Quantcast
Viewing all articles
Browse latest Browse all 8372

Re: UPDATE FROM

HI Micha,

 

silly typo.

The T2 table does not have a column "VAR" but also "VAL".

 

So the correct statement would be

 

UPDATE T SET VAL = T2.VAL FROM T, T2 WHERE T.KEY = T2.KEY;

 

Cheers,

Lars


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>