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

ArgumentRequiredValuesDefault
<script>NoA path relative to the Scripts Library root, exactly as writtenA 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 RUN takes 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.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.