![]() | |
All SQL Workbench/J specific command can only be used from within SQL Workbench/J |
Defines a new macro (or overwrites an existing one). This command is primarily intended for the console mode
Parameter | Description |
---|---|
-name | The name of the new macro |
-group | The name of the macro group in which the new macro should be stored |
-text | The text of the macro |
-file | A file from which to read the macro text. If this parameter is supplied, -text is ignored |
-encoding | The encoding of the input file specified with the -file parameter. |
-autoExpand | If true then the new macro is a macro that is expanded while typing |
WbDeleteMacro
is used to delete a macro, the macro name is passed with the command, e.g:
WbDeleteMacro showData
Display the defined macros. This command is primarily intended for the console mode.