Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Problem
Message
From
07/10/2004 18:15:16
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00949437
Message ID:
00949740
Views:
6
Thanks David

Here is the sql statement

select itmg_nm,sub1,sub2,sub3 from table1 where ((itmg_nm > = "GNRL") and not; (itmg_nm="GNRL" and sub1 < "HIN") and not (itmg_nm="GNRL" and sub1="HIN" and; sub2 < "CLA") and not (itmg_nm="GNRL" and sub1="HIN" and sub2="CLA" and sub3 < "AAA")) and ((itmg_nm < = "HAND") and not (itmg_nm="HAND" and sub1 > "WIC") and; not (itmg_nm="HAND" and sub1="WIC" and sub2 > "JJJ"))

Is there an easier way to do this? Any help appreciated.

Thanks
Darren
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform