Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL
Message
From
21/06/2000 09:53:45
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: SQL
Miscellaneous
Thread ID:
00382348
Message ID:
00382672
Views:
12
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]
Previous
Reply
Map
View

Click here to load this message in the networking platform