如何在 IntelliJ Ultimate SQL 控制台中执行 SQL?
How to execute SQL in the IntelliJ Ultimate SQL Console?
在 IntelliJ Ultimate 2017.2 中,从 Database
面板打开的 SQL Console
让我输入一些 SQL。
不幸的是,当我点击左上角的绿色三角形图标时,我的 SQL 有时会执行,有时不会。有时我需要 select 所有文本,然后才能执行三角形以使其执行,有时我不需要。显然这个工具有一些逻辑或魔术让我逃脱了。
➠如何执行SQL控制台?
documentation for Database Console 说:
Use this icon or shortcut to execute the selected (highlighted) SQL statement or statements.
If nothing is selected, the current statement is executed.
这不是我在 macOS Sierra 10.12.5 上 运行 时看到的行为。
您可以在 Preferences
/Settings
> Tools
> Database
> Execute in Console
中控制 IDE 对此操作执行的操作。
您可能希望将其中一些设置为 整个脚本。
在 IntelliJ Ultimate 2017.2 中,从 Database
面板打开的 SQL Console
让我输入一些 SQL。
不幸的是,当我点击左上角的绿色三角形图标时,我的 SQL 有时会执行,有时不会。有时我需要 select 所有文本,然后才能执行三角形以使其执行,有时我不需要。显然这个工具有一些逻辑或魔术让我逃脱了。
➠如何执行SQL控制台?
documentation for Database Console 说:
Use this icon or shortcut to execute the selected (highlighted) SQL statement or statements.
If nothing is selected, the current statement is executed.
这不是我在 macOS Sierra 10.12.5 上 运行 时看到的行为。
您可以在 Preferences
/Settings
> Tools
> Database
> Execute in Console
中控制 IDE 对此操作执行的操作。
您可能希望将其中一些设置为 整个脚本。