Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this one to many SQL line be made faster?
Message
From
29/01/2004 04:09:26
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00871681
Message ID:
00871695
Views:
24
Cyril,

>>>>>>>>>>>>
Select b.cfk1, b.cfk2, a.ctype;
FROM vcf!many b ;
INNER Join vcf!one a ON b.cfk1 = a.cid;
WHERE b.namount1 <> 0.00;
OR (b.namount2 <> 0.00);
OR (a.ctype In ("F","8") AND b.namount3 <> 0.00);
GROUP By b.cfk1, b.cfk2


Question for a answer:
a) RECCOUNT(vcf!many) ?

B) RECCOUNT(vcf!one) ?

C) indices ON vcf!many ?

D) indices ON vcf!many ?

E) RECCOUNT(result of select command) ?

F) Time for exec the select.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform