Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with SQL Select clause...
Message
From
07/01/2007 14:24:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181103
Message ID:
01183292
Views:
15
>I don't think this is possible in one SQL statement.
>What you might try is creating one SQL-statement for every day and then join the data of all the statements together.

That may be faster for large sets of data, but IMO isn't worth the effort. Large set would be something running into thousands or tens of thousands of records - any I doubt there's that much data, specially on any such report. I mean, even at a few thousand, who would read that report?

The downside of such a seven-fold join is its clumsiness. It seems to be more code and less elegant than a simple loop. I have such a piece of code (which breaks datetimes in a day into eight three-hour segments) and the loop contains only three statements.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform