Salesforce
PDII · Question #62
What is a consideration when using bind variables with dynamic SOQL? (Choose two.)
The correct answer is A. Dynamic SOQL cannot reference fields on bind variables D. Bind variables must be in local scope. See the full explanation below for the reasoning.
Question
What is a consideration when using bind variables with dynamic SOQL? (Choose two.)
Options
- ADynamic SOQL cannot reference fields on bind variables
- BDynamic SOQL cannot use bind variables
- CBind variables must be public or global
- DBind variables must be in local scope
How the community answered
(62 responses)- A69% (43)
- B21% (13)
- C10% (6)
Community Discussion
No community discussion yet for this question.