![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Right now, a client of mine has a T-SQL statement that does the following: 1) Create a temp table. 2) Populate temp table with data from one table using an INSERT statement. 3) Populate temp table with data from another table using an INSERT statement. 4) SELECT from temp table. Would it be more efficient to simply SELECT from table1 then UNION table 2? The simply wants to see the result set and does not need to re-SELECT from the temp table. |
![]() |
| Thread Tools | |
| Display Modes | |
| |