Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
scottj08
Starting Member
1 Post |
Posted - 2008-08-18 : 10:46:29
|
| Hello -I'm sure this question will depend on what I'm trying to accomplish but is there a better option to the UNION statement? Thanks in advance - Scott |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2008-08-18 : 10:50:09
|
| >>I'm sure this question will depend on what I'm trying to accomplish but...Of course that's true.EDIT: UNION is just a tool in the toolbox - use the right tool for the right job :)However, unless you want to DISTINCT the UNIONed statements, use UNION ALL.Be One with the OptimizerTG |
 |
|
|
|
|
|