PROMPT Enter table name &&x -
The && (double ampersand) ensures that the value for the variable x is stored in the session after it is entered.
The PROMPT statement is used to display a message for the user to input the value.
SELECT employee_id FROM &x WHERE last_name = 'King';
The &x (single ampersand) refers to the variable x that was already defined by the && mechanism in the previous step. It does not prompt again because the variable is already stored.
C. PROMPT Enter table name &x -
SELECT employee_id FROM &&x WHERE last_name = ‘King’;
An & prefix to an undefined substitution variable, which is referenced twice in the same query, will prompt for a value twice.
D, && performs an implicit DEFINE while & doesn't
I thought & always prompts, even if there was && before it, but this question just made me realize this, as all other answers are wrong, including C.
This section is not available anymore. Please use the main Exam Page.1z0-071 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.
JayaprasanthGurunathan
2 months, 3 weeks agoThameur01
3 months, 1 week agoyaya32
9 months agoyanoolthecool
9 months, 2 weeks agoMcromeo
10 months, 2 weeks agojm9999
1 year agoESZ
1 year agoESZ
1 year, 3 months agoWingL
1 year, 3 months agozouve
1 year, 3 months agoDarnun
1 year, 6 months agozouve
1 year, 3 months agoSantiBZ_07032022_1744
1 year, 8 months ago