Salesforce Menu

Difference Between SOSL And SOQL

SOQL SOSL
Queries start with the ‘SELECT’ keyword. Queries start with the ‘FIND’ keyword.
Can do DML operations on the queried rows directly. Can not do DML operations on the queried rows directly.
Works on a single sobject at a time. Works with multiple sobjects at a time.
Used as a way to fetch data from the database in bulk. Used generally for searching values multiple across objects.
Subscribe Now