You need to sign in to do that
Don't have an account?
EclipseTalk
SOQL usage - Looking for object by ID
Hello,
I'm trying to run a simple query to lookup if an object with a given id exist. If the id doesn't exist, the query returns an error "INVALID_QUERY_FILTER_OPERATOR", if the id exist I get the Contact object back.
Select Title, AccountId From Contact where Id='123'
What is the correct query syntax to check if an SObject exist or not?
Thank you
All Answers