On this page
EDITOR
Core command
EDIT
ED
SCRIPT EDITOR
Opens the BroadSQL Editor on the Scripts Library, or on one of its Scripts.
Syntax
EDITOR [<script>]
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<script> | No | A path relative to the Scripts Library root, exactly as written | A new, unsaved Script |
Examples
EDITOR;
EDITOR CUSTOMER.SQL;
EDITOR maintenance/cleanup.bsql;
EDIT;
SCRIPT EDITOR maintenance/cleanup.bsql;
Details
The BroadSQL Editor shows the Scripts Library as a folder tree and edits any text Script in it: browse, edit, format, check, run and keep the versions of the Scripts.
- Without a name, it opens on a new, unsaved Script.
- With a name, a path relative to the Scripts Library exactly as
LIB RUNtakes it (no alias, file name search or extension guessing), an existing Script opens, on its tab when it is already open; otherwise the Editor offers to create it, and a name without an extension gets.bsql.
Opening the Editor needs no database connection; only running a Script from it does. LIB EDIT does the same. EDIT, ED and SCRIPT EDITOR are aliases of EDITOR: the same arguments open the same Editor.
Related
- LIB EDIT
- LIB RUN
- Scripts Library, the BroadSQL Editor
Last modified in release development.
Found something wrong or unclear on this page? Tell us, with the page address.