Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correlated Query help
Message
De
12/04/2001 07:47:18
 
 
À
12/04/2001 07:39:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00494635
Message ID:
00494781
Vues:
21
>Need an "And" adding in there : Between x and y
>

OK; next time, please just fix it!


>>SWAG, try:
>>
>>
>SELECT S.Clm_Id, S.Svc_Dt ;
>>	FROM Mc_MdSvc S, Mc_MdClm C ;
>>	WHERE C.Adjt_Stat = "Z" ;
>>	AND C.Clm_Id = S.Clm_Id ;
>>	AND NOT EXISTS (SELECT * FROM Mc_PlnHs P ;
>>				WHERE P.Mem_Num = C.Mem_Num ;
>>				AND <b>P.Active_Ind</b> ;
>>				AND P.Pln_Id = C.Pln_Id ;
>>				AND P.Ins_Id_Num = C.Ins_Id_Num ;
>>				AND <b>S.Svc_Date BETWEEN P.Eff_From <i>AND</i> P.Eff_Thru</b> )
>>
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform