Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Why can't I do this.
Message
From
14/12/2000 07:05:37
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
14/12/2000 06:36:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00453265
Message ID:
00453268
Views:
22
>I know I can do :
>Select * from Table
> Where Field In(Select Field From AnotherTable)
> Into Cursor.....
>
>Why can't I do :
>
>Select * from Table
> Where Field !In(Select Field From AnotherTable)
> Into Cursor.....
>
>Or can I ?.
>
>Thanks
>Rob

Hi, try:
SELECT * FROM Table ;
WHERE Field NOT IN (SELECT field FROM table)
or
SELECT * FROM Table ;
WHERE NOT Field IN (SELECT field FROM table)
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform