Skip to content

Need a "Blank line is statement delimiter"="None" in SQL Editor Preferences #4449

Description

@ayeletmh

Is your feature request related to a problem? Please describe.
Yes. sometimes we copy a sql statement from some source (e.g. AI) and paste in the SQL Editor.
This statement may contain newlines.
If I execute such a statement, the execution my be wrong because the statement is only executed until the newline character.
e.g.:
"delete from table_a where
condition A

and condition_B;"

  • in the case above, the statement that will be executed is:
    "delete from table_a where
    condition A"

Describe the solution you'd like
In DBeaver desktop, there's a setting called "Blank line is statement delimiter", which you can set to "Never".
We need this also on CloudBeaver please.

Describe alternatives you've considered
We have instructed everyone to make sure these 2 settings are selected:

  • "Request dangerous queries confirmation"
  • "Request DROP queries confirmation"
    However, these won't cover the case above.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions