Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Problem
Message
De
14/07/1999 12:34:34
 
 
À
13/07/1999 14:27:06
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00240873
Message ID:
00241326
Vues:
34
It must be a bug. One comment on your replacement of Sql_3. Inside the parentheses you should use WHERE rather than HAVING. HAVING is a qualifier for GROUP BY.
>Thanks Tom.
>
>The folowing SQL replaces Sql_3
>SELECT fld_a + fld_b FROM tbl_1 WHERE fld_a + fld_b IN (SELECT fld_a + fld_b FROM tbl_2 HAVING DELETED()) UNION SELECT fld_a + fld_b FROM tbl_1 WHERE DELETED().
>
>BTW - BUG WARNING
>We found that Sql_3 worked in VFP 6 as written the first time, so we are assuming that VFP 3 has a bug.
>
>Thanks to all who chipped in.
>
>Todd Cottengim
>Alpine Land Information Services
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform