I'm not sure how to do this on Unix, but if you are starting on Windows, go to the "Icon Properties" that you use to run SQL * Plus and set the "Start at:" field to include the path to your script. Assuming the file is on the dive A: for this example, you would put A: \ Path \ to \ File Then just use @ file.sql at the prompt (or just @file, since the default extension is ".sql").
Steve source
share