Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Problem
Message
 
 
À
07/10/2004 18:15:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00949437
Message ID:
00949744
Vues:
13
Darren,

The SQL is one thing, but can you give us in words what you are trying to accomplish so we can figure out why the sql doesn't do what you want?

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform