gpt4 book ai didi

sql - 如何在 IntelliJ Ultimate SQL 控制台中执行 SQL?

转载 作者:搜寻专家 更新时间:2023-10-30 20:24:15 24 4
gpt4 key购买 nike

在 IntelliJ Ultimate 2017.2 中,从 Database 面板打开的 SQL Console 让我可以输入一些 SQL。

不幸的是,当我单击其左上角的绿色三角形图标时,我的 SQL 有时会执行,有时不会。有时我需要在点击三角形使其执行之前选择所有文本,有时我不需要。显然,这个工具有一些我没有注意到的逻辑或魔术。

➠ 如何执行SQL控制台?

screen shot of the SQL Console in IntelliJ 2017.2

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 中控制 IDE 对此操作执行的操作在控制台中执行

Execute in console

您可能希望将其中一些设置为整个脚本

关于sql - 如何在 IntelliJ Ultimate SQL 控制台中执行 SQL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45665295/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com