QuestionQ15

VerifiedAccessing an Oracle Database with Oracle Supplied Tools

Examine the following query:

Question Image

Which two approaches should you use to avoid being prompted for a hire-date value when the query executes?

Choose two
Explanation

SQL*Plus prompts only when a referenced substitution variable is undefined. A script argument defines positional substitution variable 1 for &1, and the DEFINE command can explicitly define variable 1 before execution. Both methods supply a value without an interactive prompt. Oracle SQL*Plus: Using Substitution Variables

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!