SOQL: 1) SOQL (Salesforce Object Query Language ) retrieves the records from the database by using “SELECT” keyword. 2) By Using SOQL we can know in Which objects or fields the data resides. 3) We can retrieve data from single object or from multiple objects that are related to each other. 4) We can Query on only one table. SOSL: 1) SOSL(Salesforce Object Search Language) retrieves the records from the database by using the “FIND” keyword. 2) By using SOSL, we don’t know in which object or field the data resides. 3) We can retrieve multiple objects and field values efficiently when the objects may or may not be related to each other. 4) We can query on multiple tables.
SOQL: 1) SOQL (Salesforce Object Query Language ) retrieves the records from the database by using “SELECT” keyword. 2) By Using SOQL we can know in Which objects or fields the data resides. 3) We can retrieve data from single object or from multiple objects that are related to each other. 4) We can Query on only one table. SOSL: 1) SOSL(Salesforce Object Search Language) retrieves the records from the database by using the “FIND” keyword. 2) By using SOSL, we don’t know in which object or field the data resides. 3) We can retrieve multiple objects and field values efficiently when the objects may or may not be related to each other. 4) We can query on multiple tables.
1) SOQL (Salesforce Object Query Language ) retrieves the records from the database by using “SELECT” keyword.
2) By Using SOQL we can know in Which objects or fields the data resides.
3) We can retrieve data from single object or from multiple objects that are related to each other.
4) We can Query on only one table.
SOSL:
1) SOSL(Salesforce Object Search Language) retrieves the records from the database by using the “FIND” keyword.
2) By using SOSL, we don’t know in which object or field the data resides.
3) We can retrieve multiple objects and field values efficiently when the objects may or may not be related to each other.
4) We can query on multiple tables.
All Answers
1) SOQL (Salesforce Object Query Language ) retrieves the records from the database by using “SELECT” keyword.
2) By Using SOQL we can know in Which objects or fields the data resides.
3) We can retrieve data from single object or from multiple objects that are related to each other.
4) We can Query on only one table.
SOSL:
1) SOSL(Salesforce Object Search Language) retrieves the records from the database by using the “FIND” keyword.
2) By using SOSL, we don’t know in which object or field the data resides.
3) We can retrieve multiple objects and field values efficiently when the objects may or may not be related to each other.
4) We can query on multiple tables.