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 |
sqlbrahzilla
Starting Member
7 Posts |
Posted - 2015-02-26 : 19:48:05
|
going to reopen when i have a better summary / output. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2015-02-26 : 19:56:49
|
Add an additional column to indicate which result set it's from: SELECT ..., 1 AS WhichResultSet...UNION SELECT ..., 2...Tara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/ |
|
|
sqlbrahzilla
Starting Member
7 Posts |
Posted - 2015-02-26 : 19:59:56
|
Understand the concept of your logic, but can you show me how that would line up with the existing syntax without giving me an error? The reason I ask is i tried that earlier and just couldn't get it to run. |
|
|
|
|
|