You need to sign in to do that
Don't have an account?

SOQL to get Live accounts / how to locate columns
Hi there,
I'm trying to return just the live Accounts through SOQL but when I attach status to the where clause it errors, is the Status column in the accounts table or do i need to join to another table? Whats the best way to find the whole schema?
Thank you
Dave.
I'm trying to return just the live Accounts through SOQL but when I attach status to the where clause it errors, is the Status column in the accounts table or do i need to join to another table? Whats the best way to find the whole schema?
Thank you
Dave.
If status is a custom field, then use it as Status__c in the SOQL query.
All Answers
Try using Schema builder present in the org. Go to Setup, in the Quick Find box, type Schema Builder.
However, doing either of the below errors, to me they're good SOQL queries:
Or
If status is a custom field, then use it as Status__c in the SOQL query.