Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Headers
Message
 
À
20/04/2000 06:03:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00361701
Message ID:
00361724
Vues:
12
Kevin,

how about a UNION...

SELECT 'C' + SPACE(x) AS Field1,
'F' + SPACE(y) AS Field2,
'P' + SPACE(z) AS Field3
FROM table
UNION
SELECT ....

>Is there a way (in a single SELECT) to produce results under headings.

>When I do a GROUP BY, I want a heading above each group to show the title.

>I don't think it can be done without creating a R/W cursor first, then >inserting the headers.

>Can someone put me right/or advise me on this?
>Thanks
>Kev


HTH,

Phil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform