DBeaver supports the following commands:

    CommandDatabaseDescription
    @set var = valueAllSets a script variable. You can use expressions as a value. Variables can be used as SQL queries input parameters.
    @echo messageAllPrints message to output log. You can use a macro in message (for example ${var}).
    @include fileNameAll- Executes a specified file name, - Can be used in scripts, - Opens a new SQL console with the specified file and processes SQL queries as in a regular SQL editor.
    source fileNameMySQLThe same as @include but in MySQL CLI syntax
    define var = valueExasolThe same as @set but in Exasol EXAPlus syntax.