Defining Substitution Variables
Using Scripts in SQL*Plus
5-11
■
Include your username as the first line of the file. Follow the
SQLPLUS command
with @ and the filename. SQL*Plus starts, prompts for your password and runs
the file.
Nesting Scripts
To run a
series of scripts in sequence, first create a script containing several START
commands, each followed by the name of a script in the sequence.
Then run the script
containing the START commands. For example, you could include the following
START commands in a script named SALESRPT:
START Q1SALES
START Q2SALES
START Q3SALES
START Q4SALES
START YRENDSLS
Do'stlaringiz bilan baham: