-
Notifications
You must be signed in to change notification settings - Fork 16
eval
Scott C Gray edited this page Feb 26, 2017
·
1 revision
Read and execute an input file full of SQL
\eval filename
The \eval
command reads in and processes a file full of SQL in the context
of the current session. That is, it treats the SQL and/or jsqsh commands
contained in the file as if you had typed them at the prompt. The one
exception to this rule is that the SQL contained in the file will not be
added to your SQL history.
This command is automatically aliased to :e
, so that you may do:
:e filename
at the prompt.
Execute the SQL contained in the input file n times. When this flag is provided the variable ${iteration} will be available during variable expansion and will reflect which iteration is being executed (starting from 0).
The name of the file to execute.