通过DBeaver脚本编辑器断开/连接到Postgresql?

时间:2020-02-12 18:02:02

标签: sql postgresql dbeaver

我想在我的DDL脚本中更改连接。 DBeaver保持沉默。感觉DBeaver不想让我在脚本中使用CONNECT / DISCONNECT? 我在做什么错了?

    DISCONNECT ;
SQL Error [42601]: ERROR: syntax error at or near "DISCONNECT"
    CONNECT TO mydb USER myuser IDENTIFIED BY postgres;
SQL Error [42601]: ERROR: syntax error at or near "CONNECT"
  Position: 1

0 个答案:

没有答案