Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error SQL: Queries of this type are not supporte
Message
From
10/10/2011 02:22: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:
01525938
Views:
80
This message has been marked as the solution to the initial question of the thread.
>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

VFP doesn't support search literal value in subquery.

Better if you rewrite with with its true meaning
< returns all records of mutuelle if there is at least one record with ciglid = '0000000015 ' >
>SELECT * from mutuelle WHERE EXISTS(SELECT * FROM mutuelle WHERE ciglid = '0000000015' ) INTO CURSOR temp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform