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
abi060988abi060988 

Select Query

hi everyone,

 

select query to list the standard objects in salesforce using SOQL.

Alok_NagarroAlok_Nagarro

Hi,

 

SOQL is used only to access data from salesforce rather than access schema. For this purpose we have Schema class to access all Objects from salesforce org. Basic syntax is -

 

Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();

 

For more details plz go through the following link:

http://www.salesforce.com/us/developer/docs/apexcode/Contentapex_dynamic_describe_objects_understanding.htm#apex_describe_object_access_all

abi060988abi060988

Kindly send me some other link bexause the link which u have mentioned is throwing "404 not found" error message