Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
Ejaz writes "Is there another way of joing the results from two queries to display them as one Resultset without using UNION/UNION ALL."
macka
Posting Yak Master
162 Posts
Posted - 2002-06-20 : 08:50:32
You could create a temporary table, insert the rows from the first query, then the rows from the second query. Nows its just a straight forward select on the temporary table.macka.
Arnold Fribble
Yak-finder General
1961 Posts
Posted - 2002-06-20 : 09:05:07
Theis doesn't contain "UNION ALL" but has the same effect: