Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHERE NOT IN syntax
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
WHERE NOT IN syntax
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01041362
Message ID:
01041362
Views:
59
I'm having trouble getting the correct syntax for this:
SELECT NoSerial_No, [No Descrip] AS StockNo_Des ;
FROM No_Serial WHERE NoSerial_Amt > 0 AND ;
NoSerial_No NOT IN ;
(SELECT StockNo_No FROM StockNo)

Although I'm not getting errors, the result does not contain NoSerial_No records which do not exist in the StockNo table... in fact the result is an empty cursor.

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Next
Reply
Map
View

Click here to load this message in the networking platform