@ and START


@ <file> [args];


Loads a text file and executes the statements contained therein. @ and START are synonymous.

If no absolute path is specified, the file is searched for in relation to the working directory of EXAplus. Rather than local paths, it is also possible to use HTTP and FTP URLs. If the file cannot be opened at the first attempt, the extension .sql is appended to the name and another search is performed for the file.

A script can be given any number of arguments through the command line parameter (Console mode), which can be called from the script as &1, &2. The variable &0 contains the name of the script. These variables are only defined during the lifetime of the script.

@test1.sql 2008 5;