[dba-SQLServer] Union query

Klos, Susan Susan.Klos at fldoe.org
Thu Sep 30 14:53:57 CDT 2004


That makes sense and I was going to do that, except that when I create the
query in SQL Query Analyzer it saves on my hard drive not on the SQL Server.
How do I get it to save as dbo.Unionquery and not as 

Susan Klos
Senior Database Analyst
Evaluation and Reporting
Florida Department of Education
850-245-0708 
sc 205-0708
 

-----Original Message-----
From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] 
Sent: Thursday, September 30, 2004 3:48 PM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Union query

SELECT * FROM dbo.Unionquery

Doris Manning
Database Administrator
Hargrove Inc.
www.hargroveinc.com


-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Klos, Susan
Sent: Thursday, September 30, 2004 3:34 PM
To: 'dba-sqlserver at databaseadvisors.com'
Subject: [dba-SQLServer] Union query


Please be kind.  I am doing this from an Access viewpoint and am having
trouble making a transition.

I have created a union query:

Select *

>From     dbo.schoolEnrollmentNumberselemonly  (this is a view)

Union all

Select *

>From     dbo.SchoolEnrollmentNumberselemcombo (this is a view)

 

Now I need to be able to call this query in another view.  Is this possible?
How?

 

Susan Klos

Senior Database Analyst

Evaluation and Reporting

Florida Department of Education

850-245-0708 

sc 205-0708

 

_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com


_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com




More information about the dba-SQLServer mailing list