• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

Store Result after executing 2 Select statement by EXCEPT


I have an SQL Statement:

select x,y from AC
except
select x,y from DC

I want to store the result set of this query into another table in the database. How can I do it? Please help.

Thanks
Ziad
0
Ziad Iqbal
Asked:
Ziad Iqbal
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you mean:
insert into othertable ( x,y )
select x,y from AC
except
select x,y from DC

Open in new window

0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now