Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data query question
Message
From
03/08/2000 15:57:36
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00399991
Message ID:
00400682
Views:
19
Hi Ed,

Just printed the source of GENXTAB. Haven't checked it thoroughly yet, but it seems that is filling the table by brute force, not via some wonderful SQL command(s).

Your idea of reducing the set and then crosstabbing is good.

I don't know what I'll do yet. Might just add a few columns to keep track of the essential cases and leave it at that.

Thanks again.

Alex


>>Hi Ed,
>>
>>I am very interested in what you are saying. I still currently use FPD 2.6 so the GENXTAB mention hit home; I'll investigate that.
>>
>>The length of the query would be a problem, indeed. It's not particularly important that it be one SQL statement, just the speed at run time as well as ease of development.
>>
>
>For 2.6, you need to implement the inner joins using WHERE clauses (no inner join in 2.6, but WHERE can do what's needed without funky UNIONs like you would need for outer joins); in 2.6, the elimination of the multiple IIF()s is even more important, so that's the general direction I'd move...use the SELECT to cut the data down to size as fast as possible, and then crosstab the result set.
Previous
Reply
Map
View

Click here to load this message in the networking platform