Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query too complex
Message
De
19/02/2009 23:03:55
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Divers
Thread ID:
01383004
Message ID:
01383010
Vues:
29
Hi,
Both yours and Sergeys answers still give "Too Complex" errors.

>>Hi,
>> Anyone have any idea why the following code would be throwing a "Too Complex" error.
>>
>>
>>Delete From pattern ;
>>Where pattern.patid In (Select CurRemove.patid From CurRemove) ;
>>.and. xpat.patid Not In (Select CurExcept.patid From CurExcept)
>>
>
>Use DELETE FROM syntax instead, e.g.
>
>delete Pattern from Pattern inner JOIN curRemove on Pattern.PaidID = curRemove.PatID LEFT JOIN curExcept on ;
>Pattern.PatID = curExcept.PatID where curExcept.PatID IS NULL
>
>I don't think you can use two sub-queries in DELETE syntax and also what is XPat in your query?
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform