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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to append the records of one view to another?

Author  Topic 

taowang
Starting Member

6 Posts

Posted - 2007-12-05 : 01:29:02
Hi, I have two view (Run1OnlyFailures and Run2OnlyFailures). THey share exact same columes. Run1OnlyFailures has three records and Run2OnlyFailures has 5 records. Is there any way that I could put all 8 (3+5) records into a third view BothRunFailures, which share the same columns defination as Run1OnlyFailures and Run2OnlyFailures?

Thx
Tao

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2007-12-05 : 01:53:52
select blah from Run1OnlyFailures
union all
select blah from Run2OnlyFailures


elsasoft.org
Go to Top of Page
   

- Advertisement -