Exam PDII Topic 5 Question 163 Discussion
Actual exam question for Salesforce's PDII exam
Question #: 163
Topic #: 5
Question #: 163
Topic #: 5
Which of the following about Dynamic Apex is incorrect?
Suggested Answer: D Vote an answer
Explanation
Explanation/Reference:
While you can use simple bind variables in dynamic SOQL, you cann|ot use bind variable fields (e.g. :myVariable.field1_c) Use escapeSingleQuotes to prevent SOQL injection
Explanation/Reference:
While you can use simple bind variables in dynamic SOQL, you cann|ot use bind variable fields (e.g. :myVariable.field1_c) Use escapeSingleQuotes to prevent SOQL injection
by Noel at Jan 26, 2024, 12:14 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).