![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
when calling UPDATE from the result set of a SELECT statement, is the order in which rows from the SELECT statement 100% geronteed? tableA myid ----------- 0 1 2 3 4 5 UPDATE tableB u SET myid = i.myid FROM tableA i ORDER BY myid Will this always update tableB with 5 since it is the last one? is this 100% garonteed to follow the order of the source result set? |
![]() |
| Thread Tools | |
| Display Modes | |
| |