Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE NOT IN syntax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01041362
Message ID:
01041373
Vues:
19
>>Why do you think that should be any record selected?
>>
>>>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.
>>>
>
>Sorry, I don't understand your Q...

Maybe there're no records with positive NoSerial_Amt in the No_Serial table that are not in the StockNo_No table?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform