You need to sign in to do that
Don't have an account?
AK-2
SOQL Count() in Force.com IDE
This is probably an easy question for some of you:
I ran the following query in the IDE "SELECT COUNT() FROM User". The query runs but I don't see the result of the query in the output window of the Force.com IDE. If I run a "SELECT name FROM User LIMIT 5", I see the 5 users in the output window.
Why do I not see the result of the first query (the one with Count)? I tried changing the query to SELECT COUNT(Id) FROM User but that only added expr0 to the output but I still don't see the number of user records.
Thank you.
I ran the following query in the IDE "SELECT COUNT() FROM User". The query runs but I don't see the result of the query in the output window of the Force.com IDE. If I run a "SELECT name FROM User LIMIT 5", I see the 5 users in the output window.
Why do I not see the result of the first query (the one with Count)? I tried changing the query to SELECT COUNT(Id) FROM User but that only added expr0 to the output but I still don't see the number of user records.
Thank you.
All Answers