Page History
...
Code Block | ||
---|---|---|
| ||
@run createDB.sql; -- Execute the content in the -- createDB.sql file without loading into the SQL editor. -- The location of this file is the same as the working -- directory for DbVisualizer. @cd /home/mupp; -- Request to change directory to /home/mupp @cd myscripts; -- Request to change directory relative to current, i.e. to /home/mupp/myscripts @run loadBackup.sql; -- Execute the content in the loadBackup.sql -- file relative to current directory. This file will now be read from the -- /home/mupp/myscripts directory. |
You can also include DbVisualizer variables as parameters to the @run command, with values to be used for the corresponding variables in the script:
...
Another alternative for execution of large scripts is to use the DbVisualizer command line interface instead of the GUI application. This option is the most efficient and fastest.
...
Overview
Content Tools