Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error SQL: Queries of this type are not supporte
Message
From
09/10/2011 14:43:16
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01525908
Message ID:
01525926
Views:
55
>Hi Tore,
>
>it was not the problem....
>
>imagine another sample...
>
>
>select * from mytable  WHERE '0000000015' in (SELECT ciglid FROM mutuelle mut ) INTO CURSOR temp
>
>
>they are two differents tables .
>
>bernhart
>
>
>>No need for two select statements in this case.
>>
SELECT * from mutuelle WHERE ciglid= '0000000015'  INTO CURSOR temp
>>
>>SELECT * from mutuelle WHERE '0000000015' in (SELECT ciglid FROM mutuelle mut ) INTO CURSOR temp
>>>hi all,
>>>
>>>what is bad in my sql command ?
>>>
>>>
>>>SELECT * from mutuelle WHERE '0000000015' in (SELECT ciglid FROM mutuelle mut ) INTO CURSOR temp
>>>
>>>
>>>thank in advance
>>>
>>>bernhart
SELECT * FROM orditems WHERE 'ERNSH' IN (SELECT cust_id FROM orders)
Error: SQL: Queries of this type are not supported

Supposed to be:
SELECT * FROM orditems WHERE order_id IN (SELECT order_id FROM orders WHERE cust_id='ERNSH')
Regards,
Ony
Previous
Reply
Map
View

Click here to load this message in the networking platform