run
Syntax
run filename [arguments]| start filename [arguments...]| @@ filename [arguments...]| @ filename [arguments...]
Description
Reads and runs SQL commands from filename
. The run
command can be nested up to five levels.
The @@
command is identical to the @
command
only if the file is specified with an absolute path.
When you specify @
with a relative path, the path is relative
to the startup directory of ttIsql
. When you specify @@
,
the path is relative to the currently running input file. Therefore @@
is
useful when used in a script that must call other scripts. It does not matter what directory
the invoker of ttIsql
is in when the script is run.
Examples
Command> run hello.sql; Hi, I am there.