Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joining to select's not a union
Message
 
À
04/02/2005 16:28:20
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00984011
Message ID:
00984039
Vues:
22
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform