Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Puzzle
Message
De
29/11/2003 05:01:41
 
 
À
28/11/2003 15:08:23
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00854130
Message ID:
00854406
Vues:
20
Hi Walter,

>Actually it is 9 (maximum of 9 EXIST clauses in VFP8).

You have other two table for the join, and 7 max EXISTS/NOT EXISTS.

>I think in these extreme cases you have to look really well about performance penalties becauses you're talking about a >lot of potential records and hardly can avoid full table scans. Note that your solution is also limited (to 24 items) >unless you choose to join it with a custom cursor.

Yes, but i have not indicated the solution as the better solution for the general case.

>There is no need to be picky, I'm just trying to be constructive.

Sorry, but the impression has ahother.

***************************************

If you remove the hypothesis that table on exists() have a index for the join field,
then VFP must build 1,2,...7 temporary index, and for large table this can to be very time consuming.

If you not put constraint hypothesis, the discussion it can go ahead to the infinite.
Best general solution, without hypothesis, not exist.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform