Difference between SOSL and SOQL in Salesforce ?



Difference between SOSL and SOQL in Salesforce ?..

Answer / Hemant Kumar Budakoti

SOQL (Salesforce Object Query Language) is used to query data from Salesforce objects, while SOSL (Site-Specific Object Query Language) is used to query data related to a specific site. The main difference is that SOQL can only query standard and custom objects, while SOSL can also query site-specific entities like communities or portals.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What will happen if we undelete the deleted junction object?

1 Answers  


In the process of creating a new record, how you will check, whether user has entered email or not in the email field of Account object?

1 Answers   Cap Gemini,


Explain batch apex?

1 Answers  


Explain about jump start wizard versus standard wizard in salesforce?

1 Answers  


How to handle comma within a field while uploading using data loader?

1 Answers  


Which interface we are supposed to implement so that a lightning component can be used as quick action?

1 Answers  


What are the different types of object relations in salesforce? How can you create them? : salesforce crm

1 Answers  


What is difference between insert and database.insert()?

1 Answers  


What is a workflow? What all are its components? What is a workflow rule?

1 Answers  


Why do we use Salesforce?

1 Answers  


State the cause of error for insufficient privilege access in a partner community with external users. The user has proper owd and profile settings for any object.

1 Answers  


Difference between role and profile? : salesforce admin

1 Answers  


Categories