+ Start a Discussion

new to cloud

difference between dynamic SOSLand SOSL


difference between dynamic SOQL and SOQL

difference between dynamic DML and DML

Best Answer chosen by Admin (Salesforce Developers) 

Dynamic SOQL/SOSL means that you create the query string at runtime, allowing you to use different fields/objects/where clauses as you need.


Dynamic DML means that you use get/set notation to access fields on an sobject rather than hardcoding the field names.  This would allow you, for example, to set infromation based on a user selecting the field from a visualforce page.