Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Headers
Message
 
To
20/04/2000 06:03:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00361701
Message ID:
00361724
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform