Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joining to select's not a union
Message
 
To
04/02/2005 16:28:20
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00984011
Message ID:
00984039
Views:
23
Unfortunately I have no SQL Server installed in home to test this only VFP but I think It has't be much differt.
Because I am not a very familiar with SQL Server SQL Sintaxe i suppose that SELECT clause supports INTO...
so
SELECT COUNT(*), SUM..... INTO Query1
SELECT .....              INTO Query2

SELECT Query1.*, Query2.* FROM Query1, Query2
must gives You the result You want
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform