1-3. Storing Code in a ScriptProblemRather than typing your PL/SQL code into the SQL*Plus utility each time you want to run it, you want to store the code in an executable script.
SolutionOpen your favorite text editor or development environment; type the PL/SQL code into a new file, and save the file using the .sql extension. The script can contain any number of PL/SQL statements, but the last line of the script must be a forward slash (/).
For example, you could place the following lines into a file named count_down.sql:
Now you have a file that you can execute from SQL*Plus any time you want to count down from ten to zero.