troubleshooting Question

The result of a qry as a wry

Avatar of Michael Katz
Michael KatzFlag for United States of America asked on
Microsoft SQL ServerSQL
30 Comments1 Solution143 ViewsLast Modified:
I am using sql 2014....I have created a sql statement has the results...
This actually appears in the Results window

Select * from Table1 union all
Select * from Table2 union all
Select * from Table3 union all
Select * from Table4

Is it possible to take this and create a stored procedure...that will actually execute this union?
Join our community to see this answer!
Unlock 1 Answer and 30 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 30 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros