Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL
Message
De
21/06/2000 09:53:45
 
 
À
20/06/2000 15:34:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: SQL
Divers
Thread ID:
00382348
Message ID:
00382672
Vues:
14
Milt,

in ANSI SQL - I am not sure if it is exactly the same in the VFP implementation of SQL - the COUNT() statement applies to the rows and the columns of the SQL result while your expression inside the COUNT parenthesis is targeted towards the SQL source 'subscriber'. Maybe you would rather put this expression in the WHERE clause of the SQL statement and count the resulting rows:
SELECT COUNT(*) ;
    ... ;
    WHERE EMPTY(subscriber.c_premiumproduct_id)
Robert Stralka
I've acquired quite a taste for a well-made mistake... [Fiona Apple]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform