On this page
EDIT
Core command
ED
Opens the BroadSQL Editor on the Scripts Library, or on one of its Scripts.
Syntax
EDIT [<script>]
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<script> | No | A path relative to the Scripts Library root, exactly as written | A new, unsaved Script |
Examples
EDIT;
EDIT CUSTOMER.SQL;
EDIT 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.
Related
- LIB EDIT
- LIB RUN
- Scripts Library, the BroadSQL Editor
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.