troubleshooting Question

insert from double select

Avatar of ZURINET
ZURINET asked on
Microsoft SQL Server
3 Comments1 Solution273 ViewsLast Modified:
HI all
I have table Z with :
columns A:B:C:D:E:F, of which i need to populate

Inside a store procedure I have

2 select query

select from Table a : column a1, a2,a3

select form Table b; column , b1, b2,b3

what I need to do is
insert into Table Z
values = select Table a, and Table b

How can I accomplishes this?

Note I need to do this inside the store procedure

Thanks in Advance
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
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 3 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