Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correlated Query help
Message
From
12/04/2001 07:47:18
 
 
To
12/04/2001 07:39:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00494635
Message ID:
00494781
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform