DBeaver shortcut keys

The company uses a PostgreSQL database, you can use pgAdmin or DBeaver to connect to the database. I personally prefer to use DBeaver because its interface is more beautiful and the operation is relatively simple. For developers who are used to eclipse, DBeaver is definitely a good choice.

DBeaver is a general database management tool and SQL client, supporting MySQL, PostgreSQL, Oracle, DB2, MSSQL, Sybase, Mimer, HSQLDB, Derby, and other JDBC-compatible databases.

DBeaver provides a graphical interface to view the database structure, execute SQL queries and scripts, browse and export data, process BLOB/CLOB data, modify the database structure, and so on.

hot key

ctrl + enter Execute sql
ctrl + alt + ↑ to copy one line up and copy one line
ctrl + alt + ↓ down and
ctrl + shift + ↑ move up one line and move
ctrl + shift + ↓ down one line
ctrl + alt + F to format the sql statement, useful for very long sql statements,
ctrl + d delete the current line,
alt + ↑ select a sql statement
alt + ↓ upward, select a sql statement
ctrl + / line comment
ctrl + shift+ / block Comment
ctrl + f search and replace
ctrl + space sql prompt (if you write from table, it will automatically prompt field). The
ctrl + shift + E execution plan
ctrl + shift + U will convert the selected sql into uppercase letters and
ctrl + shift + L the selected sql into lowercase letters

Tips

  • When using some shortcut keys, you only need to move the cursor to a certain sql statement instead of selecting the entire statement.
  • Some shortcut keys are used by default for the current whole  Script page, and you can use the cursor to select only the range you want to take effect.
  • Double-click the edge of the bracket in the sql statement, you can directly select the content in the bracket (excluding the bracket), this function is very convenient.
  • Double-click the inside of the single quotation mark/double quotation mark to directly select the content enclosed by the single quotation mark/double quotation mark.

Guess you like

Origin blog.csdn.net/londa/article/details/109430214