Activity Forums Salesforce® Discussions What is dynamic query in Salesforce ?

  • Shweta

    Member
    February 18, 2020 at 11:40 am

    Dynamic Query/SOQL: It refers to the creation of a SOQL string at run time with Apex code. It enables you to create more flexible applications. You can use simple bind variables in dynamic SOQL query strings.

  • Anjali

    Member
    February 18, 2020 at 2:11 pm

    Dynamic query refers to the SOQL string at run time in apex code.

  • Pooja

    Member
    February 18, 2020 at 2:33 pm

    Dynamic Query refers to the creation of a SOQL string at run time with Apex code. Dynamic SOQL enables you to create more flexible applications.

  • Ayush

    Member
    February 18, 2020 at 2:35 pm

    Dynamic SOQL and SOSL queries provide the ability to execute SOQL or SOSL as a string at runtime, while dynamic DML provides the ability to create a recorddynamically and then insert it into the database using DML.

Log In to reply.

Popular Salesforce Blogs