function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ashbashb 

Custom Object Query

 

Why cant we do “select Name, Id from CustomObj__c where Id ='xyz5748'
I know “Id” is inherited from sObject, but we still should be able to query on that.

 

 

Regards,

AshB

aalbertaalbert

That looks like a valid SOQL query. Are you getting an error? What is the issue?

Abhinav GuptaAbhinav Gupta

Yes you can do that via Java client

 

 

USUS

Hi ! 

 

    I am new to salesforce.com, please tell me how to access Query Result types in java

 

   Ex : Select  Name, Billing Address, OpenActivities from Account

 

       Where Name, BillingAddress -- are return type String         

                    OpenActivities -- return type Query Result

 

         

Thanks

US