Oracle
1Z0-074 · Question #62
Which two statements are true about substitution variables? (Choose two.)
The correct answer is B. A substitution variable used to prompt for a column name must be enclosed in a single quotation marks C. A substitution variable prefixed with & always prompts only once for a value in a session. Explanation/Reference: https://blogs.oracle.com/opal/sqlplus-101-substitution-variables
New Features for Manageability
Question
Which two statements are true about substitution variables? (Choose two.)
Options
- AA substitution variable can be used with any clause in a SELECT statement
- BA substitution variable used to prompt for a column name must be enclosed in a single quotation marks
- CA substitution variable prefixed with & always prompts only once for a value in a session
- DA substitution variable can be used only in a SELECT statement
- EA substitution variable used to prompt for a column name must be enclosed in double quotation marks
- FA substitution variable prefixed with && prompts only once for a value in a session unless it is set to
How the community answered
(30 responses)- A3% (1)
- B80% (24)
- D13% (4)
- F3% (1)
Explanation
Explanation/Reference: https://blogs.oracle.com/opal/sqlplus-101-substitution-variables
Topics
#substitution variables#SQL*Plus#ampersand prefix#session variables
Community Discussion
No community discussion yet for this question.