in Salesforce by
Difference between SOQL Vs SOSL in salesforce?

► Click here to show 1 Answer

0 votes

SOQL- (Salesforce Object Query Language) SOSL (Salesforce object Search Language)

Using SOQL we can Search only on one object one time. Using SOSL we can search on many objects at one time.

We can query on all fields of any datatype We can query only on fields whose data type is text,phone and Email.

We can use SOQL in the Triggers and the classes. We cannot use in Triggers but can in classes.

We can perform DML operation on sql query results. We cannot perform DML operation on search results.

Learn More with Madanswer

Related questions

0 votes
asked Sep 26, 2019 in Salesforce by Robin