Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query too complex
Message
From
19/02/2009 23:03:55
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01383004
Message ID:
01383010
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform