Consider this method declaration: A) “SET SESSION AUTHORIZATION “ + user B) “SET SESSION AUTHORIZATION “ + stmt.enquoteIdentifier(user) Is A or B the correct replacement for <EXPRESSION> and why?
A.
A, because it sends exactly the value of user provided by the calling code.
B.
B, because enquoting values provided by the calling code prevents SQL injection.
C.
A and B are functionally equivalent.
D.
A, because it is unnecessary to enclose identifiers in quotes.
E.
B, because all values provided by the calling code should be enquoted.
This section is not available anymore. Please use the main Exam Page.1z0-816 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
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.
Sa16253748596
10 months, 1 week ago