& |
&n |
Inserts a command-line parameter.
&var
Creates a SQL*Plus variable var and prompts for a value each time &var is encountered.
Keywords
n
Specifies the position on the command line for the parameter that will be inserted. Each occurrence of &n is replaced with the corresponding parameter from the command line. For example, &1 would be replaced with the value of the first parameter specified on the command line.
var
Specifies the name of a SQL*Plus variable that will be replaced by a value supplied at the time the statement or command is executed. The terminal session running SQL*Plus will be prompted for the value.
Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.