Does anyone know if the update listed below is undefined? It seems like the final result could either be NULL or 'octopus', though I always seem to get 'octopus'. It seems consistent though this may because I'm just using small simple tables. Here is the query:DECLARE @Table1 Table(ID INT, Value varchar(20))DECLARE @Table2 TABLE(ID INT, Value varchar(20))INSERT INTO @Table1 (ID, Value) VALUES (1, 'foo')INSERT INTO @Table2 (ID, Value) VALUES (1, NULL)INSERT INTO @Table2 (ID, Value) VALUES (1, 'octopus')INSERT INTO @Table2 (ID, Value) VALUES (1, NULL)UPDATE aSET a.Value = b.ValueFROM @Table1 a JOIN @Table2 b ON a.ID = b.ID-- @Table1.Value always seems to be 'octopus', which is the first non-null value in @Table2SELECT * FROM @Table1