Console - LOAD SCRIPT (from 2.2.18)

Loads a sql script from the given path and executes it.


LOAD SCRIPT <script path>


  • Load a script from an absolute path:

    orientdb> LOAD SCRIPT /path/to/scripts/data.osql
  • Launch the console in batch mode and load script to a remote database:

    $ $ORIENTDB_HOME/bin/ "CONNECT REMOTE:localhost/demo;LOAD SCRIPT /path/to/scripts/data.osql"

For more information on other commands, see Console Commands.

results matching ""

    No results matching ""