A bookmark inside the editor is defined by adding the keyword @WbTag
followed by the name
of the bookmark into a SQL comment:
-- @WbTag delete everything truncate table orders,order_line,customers; commit;
The keyword is not case sensitive, @wbtag
will work just as wel as @WBTAG
,
or @WbTag
. A multiline comment can be used as well as a single line comment.
The annotations for naming a result can additionally be included in the bookmark list. This is enabled in the options panel for the editor.
The names of procedures and functions can also be used as bookmarks if enabled in the bookmark options
To jump to a bookmark select
→ . A dialog box with all defined bookmarks will be displayed. You can filter the list of displayed bookmarks by entering a value in the input field. Depending on the option the value will either be compared only against the bookmark name. If that option is disabled then the bookmark name and the name of the SQL tab will be checked for the entered value.![]() | |
The selection in the bookmark list can be moved with the UP/DOWN keys even when the cursor is located in the filter input field. |
If the option
is enabled, then the dialog will open showing only bookmarks for the current tab.There are two options to influence how the list of bookmarks is displayed. Both options are available when displaying the context menu for the list header (usually through a click with the right mouse button):