Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select questions.
Message
From
16/06/1997 17:32:50
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00036481
Message ID:
00036569
Views:
49
> 1) SELECT space(10) as FIELD1, ; > space(20) as FIELD2, ; > 0000.00 as CField1 ; > FROM TABLEA ; > WHERE .F. > UNION ALL > SELECT FIELD1, ; > FIELD2, ; > SUM(value) as CField1 ; > etc. > > The first SELECT will create the structure with no information. The > second SELECT will populate the structure. This means that you have to > know the size of all of the fields before you start. Thank you VERY MUCH for your message. Especially for the trick above. This problem was driving me nuts.
Previous
Reply
Map
View

Click here to load this message in the networking platform